org.jboss.resteasy.core
Interface ValueInjector

All Known Implementing Classes:
ContextParameterInjector, CookieParamInjector, FormInjector, FormParamInjector, HeaderParamInjector, MatrixParamInjector, MessageBodyParameterInjector, PathParamInjector, QueryParamInjector, SuspendInjector

public interface ValueInjector

Version:
$Revision: 1 $
Author:
Bill Burke

Method Summary
 java.lang.Object inject()
          Inject outside the context of an HTTP request.
 java.lang.Object inject(HttpRequest request, HttpResponse response)
          Inject inside the context of an HTTP request.
 

Method Detail

inject

java.lang.Object inject()
Inject outside the context of an HTTP request. For instance, a singleton may have proxiable and injectable jax-rs objects like Request, UriInfo, or HttpHeaders.

Returns:

inject

java.lang.Object inject(HttpRequest request,
                        HttpResponse response)
Inject inside the context of an HTTP request.

Parameters:
request -
response -
Returns:


Copyright © 2010. All Rights Reserved.