public interface MethodArgumentResolver
DefaultMethodEndpointAdapter
to be
indefinitely extensible.Modifier and Type | Method and Description |
---|---|
Object |
resolveArgument(MessageContext messageContext,
org.springframework.core.MethodParameter parameter)
Resolves the given parameter into a method argument.
|
boolean |
supportsParameter(org.springframework.core.MethodParameter parameter)
Indicates whether the given method parameter is supported by this resolver.
|
boolean supportsParameter(org.springframework.core.MethodParameter parameter)
parameter
- the method parameter to checktrue
if this resolver supports the supplied parameter; false
otherwiseObject resolveArgument(MessageContext messageContext, org.springframework.core.MethodParameter parameter) throws Exception
messageContext
- the current message contextparameter
- the parameter to resolve to an argument. This parameter must have previously been passed to
the supportsParameter(MethodParameter)
method of this interface, which must
have returned true
.null
.Exception
- in case of errorsCopyright © 2020 Pivotal Software. All rights reserved.