org.springframework.web.method.annotation.AbstractCookieValueMethodArgumentResolver
that resolves cookie values from an HttpServletRequest.
| Modifier and Type | Field and Description |
|---|---|
| private UrlPathHelper |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected Object | resolveName(String
the name of the value being resolved cookieName, MethodParameter the method parameter to resolve to an argument value
(pre-nested in case of a parameter, NativeWebRequest java. declaration)the current request webRequest)Implements abstract org. Resolve the given parameter type and value name into an argument value. |
| public void | setUrlDecode(boolean urlDecode)
Whether to apply URL decoding to cookie values via
|
| public void | setUrlPathHelper(UrlPathHelper urlPathHelper)
Set the |
| urlPathHelper | back to summary |
|---|---|
| private UrlPathHelper urlPathHelper | |
| ServletCookieValueMethodArgumentResolver | back to summary |
|---|---|
| public ServletCookieValueMethodArgumentResolver(ConfigurableBeanFactory beanFactory) | |
| resolveName | back to summary |
|---|---|
| protected Object resolveName(String cookieName, MethodParameter parameter, NativeWebRequest webRequest) throws Exception Implements abstract org. Doc from org. Resolve the given parameter type and value name into an argument value.
| |
| setUrlDecode | back to summary |
|---|---|
| public void setUrlDecode(boolean urlDecode) Whether to apply URL decoding to cookie values via
By default set to "true" in which case cookie values are decoded.
| |
| setUrlPathHelper | back to summary |
|---|---|
| public void setUrlPathHelper(UrlPathHelper urlPathHelper) Set the | |