@Value.
An @Value does not have a name but gets resolved from the default
value string, which may contain ${...} placeholder or Spring Expression
Language #{...} expressions.
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| public | ExpressionValueMethodArgumentResolver(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 |
| ExpressionValueMethodArgumentResolver | back to summary |
|---|---|
| public ExpressionValueMethodArgumentResolver(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 |
| ExpressionValueNamedValueInfo | back to summary |
|---|---|
| private ExpressionValueNamedValueInfo(Value annotation) | |