public interface MethodInjector
Modifier and Type | Method and Description |
---|---|
boolean |
expectsBody() |
ValueInjector[] |
getParams() |
CompletionStage<Object[]> |
injectArguments(HttpRequest request,
HttpResponse response)
Create the arguments that would be used to invoke the method in the context of an HTTP request.
|
CompletionStage<Object> |
invoke(HttpRequest request,
HttpResponse response,
Object target)
Invoke on a method in the context of an HTTP request.
|
CompletionStage<Object> invoke(HttpRequest request, HttpResponse response, Object target) throws Failure, ApplicationException
request
- http requestresponse
- http responsetarget
- target objectFailure
- if application failure occurredApplicationException
CompletionStage<Object[]> injectArguments(HttpRequest request, HttpResponse response) throws Failure
request
- http requestresponse
- http responseFailure
- if application failure occurredValueInjector[] getParams()
boolean expectsBody()
Copyright © 2019 JBoss by Red Hat. All rights reserved.