org.jboss.resteasy.core
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 MethodInjector
public Object[] injectArguments(HttpRequest input, HttpResponse response)
MethodInjector
injectArguments
in interface MethodInjector
public Object invoke(HttpRequest request, HttpResponse httpResponse, Object resource) throws Failure, ApplicationException, WebApplicationException
MethodInjector
invoke
in interface MethodInjector
Failure
ApplicationException
WebApplicationException
Copyright © 2017. All Rights Reserved.