spring-framework / org.springframework.web.reactive.result.method.annotation / CookieValueMethodArgumentResolver

CookieValueMethodArgumentResolver

open class CookieValueMethodArgumentResolver : AbstractNamedValueSyncArgumentResolver

Resolve method arguments annotated with @CookieValue.

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.

Author
Rossen Stoyanchev

Since
5.0

Constructors

<init>

CookieValueMethodArgumentResolver(factory: ConfigurableBeanFactory, registry: ReactiveAdapterRegistry)

Functions

supportsParameter

open fun supportsParameter(param: MethodParameter): Boolean