public class InvocableHandlerMethod extends HandlerMethod
HandlerMethod.HandlerMethodParameterlogger| Constructor and Description |
|---|
InvocableHandlerMethod(HandlerMethod handlerMethod) |
InvocableHandlerMethod(Object bean,
Method method) |
| Modifier and Type | Method and Description |
|---|---|
protected Method |
getBridgedMethod()
If the bean method is a bridge method, this method returns the bridged
(user-defined) method.
|
reactor.core.publisher.Mono<HandlerResult> |
invokeForRequest(ServerWebExchange exchange,
ModelMap model,
Object... providedArgs)
Invoke the method and return a Publisher for the return value.
|
void |
setHandlerMethodArgumentResolvers(List<HandlerMethodArgumentResolver> resolvers) |
createWithResolvedBean, equals, getBean, getBeanType, getMethod, getMethodAnnotation, getMethodParameters, getResolvedFromHandlerMethod, getReturnType, getReturnValueType, getShortLogMessage, hashCode, hasMethodAnnotation, isVoid, toStringpublic InvocableHandlerMethod(HandlerMethod handlerMethod)
public void setHandlerMethodArgumentResolvers(List<HandlerMethodArgumentResolver> resolvers)
protected Method getBridgedMethod()
HandlerMethodHandlerMethod.getMethod().getBridgedMethod in class HandlerMethodpublic reactor.core.publisher.Mono<HandlerResult> invokeForRequest(ServerWebExchange exchange, ModelMap model, Object... providedArgs)
exchange - the current exchangemodel - the model for request handlingprovidedArgs - optional list of argument values to check by type
(via instanceof) for resolving method arguments.