|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MethodInjector
Will invoke a method in the context of an HTTP request. Does all the parameter injection for you.
| Method Summary | |
|---|---|
ValueInjector[] |
getParams()
|
Object[] |
injectArguments(HttpRequest request,
HttpResponse response)
Create the arguments that would be used to invoke the method in the context of an HTTP request. |
Object |
invoke(HttpRequest request,
HttpResponse response,
Object target)
Invoke on a method in the context of an HTTP request. |
| Method Detail |
|---|
Object invoke(HttpRequest request,
HttpResponse response,
Object target)
throws Failure,
ApplicationException,
WebApplicationException
request - response - target -
Failure
ApplicationException
WebApplicationException
Object[] injectArguments(HttpRequest request,
HttpResponse response)
throws Failure
request - response -
FailureValueInjector[] getParams()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||