Package org.jboss.resteasy.core
Interface ValueInjector
-
- All Known Implementing Classes:
AbstractCollectionFormInjector
,AsynchronousResponseInjector
,ContextParameterInjector
,CookieParamInjector
,FormInjector
,FormParamInjector
,HeaderParamInjector
,ListFormInjector
,MapFormInjector
,MatrixParamInjector
,MessageBodyParameterInjector
,PathParamInjector
,PrefixedFormInjector
,QueryInjector
,QueryParamInjector
,SuspendInjector
public interface ValueInjector
- Version:
- $Revision: 1 $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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:
-
-