abstract class AbstractCookieValueMethodArgumentResolver : AbstractNamedValueMethodArgumentResolver
A base abstract class to resolve method arguments annotated with @CookieValue. Subclasses extract the cookie value from the request.
An @CookieValue is a named value that is resolved from a cookie. It has a required flag and a default value to fall back on when the cookie does not exist.
A WebDataBinder may be invoked to apply type conversion to the resolved cookie value.
Author
Arjen Poutsma
Author
Rossen Stoyanchev
Since
3.1
AbstractCookieValueMethodArgumentResolver(beanFactory: ConfigurableBeanFactory) |
open fun supportsParameter(parameter: MethodParameter): Boolean |
fun resolveArgument(parameter: MethodParameter, mavContainer: ModelAndViewContainer, webRequest: NativeWebRequest, binderFactory: WebDataBinderFactory): Any |
open class ServletCookieValueMethodArgumentResolver : AbstractCookieValueMethodArgumentResolver
An org.springframework.web.method.annotation.AbstractCookieValueMethodArgumentResolver that resolves cookie values from an HttpServletRequest. |