|
Spring Framework | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.web.method.annotation.AbstractNamedValueMethodArgumentResolver
org.springframework.web.method.annotation.AbstractCookieValueMethodArgumentResolver
org.springframework.web.servlet.mvc.method.annotation.ServletCookieValueMethodArgumentResolver
public class ServletCookieValueMethodArgumentResolver
An AbstractCookieValueMethodArgumentResolver
that resolves cookie
values from an HttpServletRequest
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.springframework.web.method.annotation.AbstractNamedValueMethodArgumentResolver |
---|
AbstractNamedValueMethodArgumentResolver.NamedValueInfo |
Constructor Summary | |
---|---|
ServletCookieValueMethodArgumentResolver(ConfigurableBeanFactory beanFactory)
|
Method Summary | |
---|---|
protected java.lang.Object |
resolveName(java.lang.String cookieName,
MethodParameter parameter,
NativeWebRequest webRequest)
Resolves the given parameter type and value name into an argument value. |
void |
setUrlPathHelper(UrlPathHelper urlPathHelper)
|
Methods inherited from class org.springframework.web.method.annotation.AbstractCookieValueMethodArgumentResolver |
---|
createNamedValueInfo, handleMissingValue, supportsParameter |
Methods inherited from class org.springframework.web.method.annotation.AbstractNamedValueMethodArgumentResolver |
---|
handleResolvedValue, resolveArgument |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServletCookieValueMethodArgumentResolver(ConfigurableBeanFactory beanFactory)
Method Detail |
---|
public void setUrlPathHelper(UrlPathHelper urlPathHelper)
protected java.lang.Object resolveName(java.lang.String cookieName, MethodParameter parameter, NativeWebRequest webRequest) throws java.lang.Exception
AbstractNamedValueMethodArgumentResolver
resolveName
in class AbstractNamedValueMethodArgumentResolver
cookieName
- the name of the value being resolvedparameter
- the method parameter to resolve to an argument valuewebRequest
- the current request
null
java.lang.Exception
- in case of errors
|
Spring Framework | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |