org.jboss.resteasy.core
Class MethodInjectorImpl
java.lang.Object
org.jboss.resteasy.core.MethodInjectorImpl
- All Implemented Interfaces:
- MethodInjector
public class MethodInjectorImpl
- extends java.lang.Object
- implements MethodInjector
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
method
protected java.lang.reflect.Method method
invokedMethod
protected java.lang.reflect.Method invokedMethod
rootClass
protected java.lang.Class rootClass
params
protected ValueInjector[] params
factory
protected ResteasyProviderFactory factory
MethodInjectorImpl
public MethodInjectorImpl(java.lang.Class root,
java.lang.reflect.Method method,
ResteasyProviderFactory factory)
findInterfaceBasedMethod
public static java.lang.reflect.Method findInterfaceBasedMethod(java.lang.Class root,
java.lang.reflect.Method method)
getParams
public ValueInjector[] getParams()
- Specified by:
getParams
in interface MethodInjector
injectArguments
public java.lang.Object[] injectArguments(HttpRequest input,
HttpResponse response)
- Description copied from interface:
MethodInjector
- Create the arguments that would be used to invoke the method in the context of an HTTP request.
- Specified by:
injectArguments
in interface MethodInjector
- Returns:
invoke
public java.lang.Object invoke(HttpRequest request,
HttpResponse httpResponse,
java.lang.Object resource)
throws Failure,
ApplicationException,
WebApplicationException
- Description copied from interface:
MethodInjector
- Invoke on a method in the context of an HTTP request. Does all JAX-RS parameter injection.
- Specified by:
invoke
in interface MethodInjector
- Returns:
-
- Throws:
Failure
ApplicationException
WebApplicationException
Copyright © 2010. All Rights Reserved.