public class MethodInjectorImpl extends Object implements MethodInjector
| Modifier and Type | Field and Description |
|---|---|
protected ResteasyProviderFactory |
factory |
protected Method |
invokedMethod |
protected Method |
method |
protected ValueInjector[] |
params |
protected Class |
rootClass |
protected ValidatorAdapter |
validatorAdapter |
| Constructor and Description |
|---|
MethodInjectorImpl(Class root,
Method method,
ResteasyProviderFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
static Method |
findInterfaceBasedMethod(Class root,
Method method) |
ValueInjector[] |
getParams() |
Object[] |
injectArguments(HttpRequest input,
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 httpResponse,
Object resource)
Invoke on a method in the context of an HTTP request.
|
protected Method method
protected Method invokedMethod
protected Class rootClass
protected ValueInjector[] params
protected ResteasyProviderFactory factory
protected ValidatorAdapter validatorAdapter
public MethodInjectorImpl(Class root, Method method, ResteasyProviderFactory factory)
public ValueInjector[] getParams()
getParams in interface MethodInjectorpublic Object[] injectArguments(HttpRequest input, HttpResponse response)
MethodInjectorinjectArguments in interface MethodInjectorpublic Object invoke(HttpRequest request, HttpResponse httpResponse, Object resource) throws Failure, ApplicationException, WebApplicationException
MethodInjectorinvoke in interface MethodInjectorFailureApplicationExceptionWebApplicationExceptionCopyright © 2014. All Rights Reserved.