Package org.jboss.resteasy.spi
Interface ValueInjector
-
- All Known Implementing Classes:
AbstractCollectionFormInjector
,AsynchronousResponseInjector
,ContextParameterInjector
,CookieParamInjector
,FormInjector
,FormParamInjector
,HeaderParamInjector
,ListFormInjector
,MapFormInjector
,MatrixParamInjector
,MessageBodyParameterInjector
,PathParamInjector
,PrefixedFormInjector
,QueryInjector
,QueryParamInjector
public interface ValueInjector
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
inject(boolean unwrapAsync)
Inject outside the context of an HTTP request.Object
inject(HttpRequest request, HttpResponse response, boolean unwrapAsync)
Inject inside the context of an HTTP request.
-
-
-
Method Detail
-
inject
Object inject(boolean unwrapAsync)
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.- Parameters:
unwrapAsync
- unwrap async- Returns:
- object
-
inject
Object inject(HttpRequest request, HttpResponse response, boolean unwrapAsync)
Inject inside the context of an HTTP request.- Parameters:
request
- http requestresponse
- http responseunwrapAsync
- unwrap async- Returns:
- object
-
-