public class ServletCookieValueMethodArgumentResolver
extends org.springframework.web.method.annotation.AbstractCookieValueMethodArgumentResolver
AbstractCookieValueMethodArgumentResolver
that resolves cookie values from an HttpServletRequest
.Constructor and Description |
---|
ServletCookieValueMethodArgumentResolver(org.springframework.beans.factory.config.ConfigurableBeanFactory beanFactory) |
Modifier and Type | Method and Description |
---|---|
protected Object |
resolveName(String cookieName,
org.springframework.core.MethodParameter parameter,
org.springframework.web.context.request.NativeWebRequest webRequest) |
void |
setUrlPathHelper(org.springframework.web.util.UrlPathHelper urlPathHelper) |
createNamedValueInfo, handleMissingValue, supportsParameter
public ServletCookieValueMethodArgumentResolver(@Nullable org.springframework.beans.factory.config.ConfigurableBeanFactory beanFactory)
public void setUrlPathHelper(org.springframework.web.util.UrlPathHelper urlPathHelper)
@Nullable protected Object resolveName(String cookieName, org.springframework.core.MethodParameter parameter, org.springframework.web.context.request.NativeWebRequest webRequest) throws Exception
resolveName
in class org.springframework.web.method.annotation.AbstractNamedValueMethodArgumentResolver
Exception