@Header arguments. Headers are resolved from
either the top-level header map or the nested
native header map.
HeadersMethodArgumentResolver, NativeMessageHeaderAccessor
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| public | HeaderMethodArgumentResolver(ConversionService conversionService, ConfigurableBeanFactory beanFactory)
|
| Modifier and Type | Method and Description |
|---|---|
| protected AbstractNamedValueMethodArgumentResolver. | createNamedValueInfo(MethodParameter
the method parameter parameter)Implements abstract org. Create the |
| private Map | |
| private Object | |
| protected void | handleMissingValue(String
the name for the value headerName, MethodParameter the target method parameter parameter, Message<?> the message being processed message)Implements abstract org. Invoked when a value is required, but |
| protected Object | resolveArgumentInternal(MethodParameter
the method parameter to resolve to an argument value parameter, Message<?> the current request message, String the name of the value being resolved name)Implements abstract org. Resolves the given parameter type and value name into an argument value. |
| public boolean | supportsParameter(MethodParameter
the method parameter to check parameter)Implements org. Whether the given method parameter is supported by this resolver. |
| logger | back to summary |
|---|---|
| private static final Log logger | |
| HeaderMethodArgumentResolver | back to summary |
|---|---|
| public HeaderMethodArgumentResolver(ConversionService conversionService, ConfigurableBeanFactory beanFactory) | |
| createNamedValueInfo | back to summary |
|---|---|
| protected AbstractNamedValueMethodArgumentResolver. Implements abstract org. Create the
| |
| getNativeHeaders | back to summary |
|---|---|
private Map
| |
| getNativeHeaderValue | back to summary |
|---|---|
private Object getNativeHeaderValue(Message<?> message, String name)
| |
| handleMissingValue | back to summary |
|---|---|
| protected void handleMissingValue(String headerName, MethodParameter parameter, Message<?> message) Implements abstract org. Invoked when a value is required, but
| |
| resolveArgumentInternal | back to summary |
|---|---|
| protected Object resolveArgumentInternal(MethodParameter parameter, Message<?> message, String name) Implements abstract org. Resolves the given parameter type and value name into an argument value. | |
| supportsParameter | back to summary |
|---|---|
| public boolean supportsParameter(MethodParameter parameter) Implements org. Whether the given method parameter is supported by this resolver.
| |
| Access | Constructor and Description |
|---|---|
| private |
| HeaderNamedValueInfo | back to summary |
|---|---|
| private HeaderNamedValueInfo(Header annotation) | |