public abstract class InvocableHandlerMethodSupport extends HandlerMethod
HandlerMethod
that adds support for invoking the
underlying handler methods.HandlerMethod.HandlerMethodParameter
logger
Modifier | Constructor and Description |
---|---|
protected |
InvocableHandlerMethodSupport(HandlerMethod handlerMethod,
Executor executor)
Create an instance.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
doInvoke(GraphQLContext graphQLContext,
Object... argValues)
Invoke the handler method with the given argument values.
|
protected reactor.core.publisher.Mono<Object[]> |
toArgsMono(Object[] args)
Use this method to resolve the arguments asynchronously.
|
assertTargetBean, createWithResolvedBean, equals, findProvidedArgument, formatArgumentError, formatInvokeError, getBean, getBeanType, getBridgedMethod, getMethod, getMethodAnnotation, getMethodParameters, getReturnType, getReturnValueType, getShortLogMessage, hashCode, hasMethodAnnotation, isVoid, toString
protected InvocableHandlerMethodSupport(HandlerMethod handlerMethod, @Nullable Executor executor)
@Nullable protected Object doInvoke(GraphQLContext graphQLContext, Object... argValues)
argValues
- the values to use to invoke the methodMono<Throwable>
if the invocation fails.