@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.
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| public | CookieValueMethodArgumentResolver(ConfigurableBeanFactory
a bean factory to use for resolving factory, ReactiveAdapterRegistry ${...}
placeholder and #{...} SpEL expressions in default values;
or null if default values are not expected to contain expressionsfor checking reactive type wrappers registry)Create a new |
| CookieValueMethodArgumentResolver | back to summary |
|---|---|
| public CookieValueMethodArgumentResolver(ConfigurableBeanFactory factory, ReactiveAdapterRegistry registry) Create a new
| |
| createNamedValueInfo | back to summary |
|---|---|
| protected AbstractNamedValueArgumentResolver. Implements abstract org. Create the
| |
| handleMissingValue | back to summary |
|---|---|
| protected void handleMissingValue(String name, MethodParameter parameter) Invoked when a named value is required, but
| |
| resolveNamedValue | back to summary |
|---|---|
| protected Object resolveNamedValue(String name, MethodParameter parameter, ServerWebExchange exchange) Implements abstract org. Actually resolve the value synchronously.
| |
| supportsParameter | back to summary |
|---|---|
| public boolean supportsParameter(MethodParameter param) Implements org. Doc from org. Whether this resolver supports the given method parameter.
| |
| Access | Constructor and Description |
|---|---|
| private |
| CookieValueNamedValueInfo | back to summary |
|---|---|
| private CookieValueNamedValueInfo(CookieValue annotation) | |