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
Modifier and TypeMethodDescriptioninject(boolean unwrapAsync) Inject outside the context of an HTTP request.inject(HttpRequest request, HttpResponse response, boolean unwrapAsync) Inject inside the context of an HTTP request.
-
Method Details
-
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.- Parameters:
unwrapAsync- unwrap async- Returns:
- object
-
inject
Inject inside the context of an HTTP request.- Parameters:
request- http requestresponse- http responseunwrapAsync- unwrap async- Returns:
- object
-