public interface MethodInjector
Modifier and Type | Method and Description |
---|---|
boolean |
expectsBody() |
ValueInjector[] |
getParams() |
java.lang.Object[] |
injectArguments(HttpRequest request,
HttpResponse response)
Create the arguments that would be used to invoke the method in the context of an HTTP request.
|
java.lang.Object |
invoke(HttpRequest request,
HttpResponse response,
java.lang.Object target)
Invoke on a method in the context of an HTTP request.
|
java.lang.Object invoke(HttpRequest request, HttpResponse response, java.lang.Object target) throws Failure, ApplicationException
request
- response
- target
- Failure
ApplicationException
java.lang.Object[] injectArguments(HttpRequest request, HttpResponse response) throws Failure
request
- response
- Failure
ValueInjector[] getParams()
boolean expectsBody()