public class HeadersMethodArgumentResolver extends Object implements SyncHandlerMethodArgumentResolver
Constructor and Description |
---|
HeadersMethodArgumentResolver() |
Modifier and Type | Method and Description |
---|---|
Object |
resolveArgumentValue(MethodParameter parameter,
Message<?> message)
Resolve the value for the method parameter synchronously.
|
boolean |
supportsParameter(MethodParameter parameter)
Whether the given method parameter is
supported by this resolver.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
resolveArgument
public boolean supportsParameter(MethodParameter parameter)
HandlerMethodArgumentResolver
supportsParameter
in interface HandlerMethodArgumentResolver
parameter
- the method parameter to checktrue
if this resolver supports the supplied parameter;
false
otherwise@Nullable public Object resolveArgumentValue(MethodParameter parameter, Message<?> message)
SyncHandlerMethodArgumentResolver
resolveArgumentValue
in interface SyncHandlerMethodArgumentResolver
parameter
- the method parametermessage
- the currently processed message