org.jboss.resteasy.spi
Interface MethodInjector

All Known Implementing Classes:
MethodInjectorImpl

public interface MethodInjector

Will invoke a method in the context of an HTTP request. Does all the parameter injection for you.

Version:
$Revision: 1 $
Author:
Bill Burke

Method Summary
 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.
 

Method Detail

invoke

java.lang.Object invoke(HttpRequest request,
                        HttpResponse response,
                        java.lang.Object target)
                        throws Failure,
                               ApplicationException,
                               WebApplicationException
Invoke on a method in the context of an HTTP request. Does all JAX-RS parameter injection.

Parameters:
request -
response -
target -
Returns:
Throws:
Failure
ApplicationException
WebApplicationException

injectArguments

java.lang.Object[] injectArguments(HttpRequest request,
                                   HttpResponse response)
                                   throws Failure
Create the arguments that would be used to invoke the method in the context of an HTTP request.

Parameters:
request -
response -
Returns:
Throws:
Failure

getParams

ValueInjector[] getParams()


Copyright © 2009. All Rights Reserved.