Package org.jboss.resteasy.core
Class ContextParameterInjector
java.lang.Object
org.jboss.resteasy.core.ContextParameterInjector
- All Implemented Interfaces:
ValueInjector
- Version:
- $Revision: 1 $
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionContextParameterInjector
(Class proxy, Class type, ResteasyProviderFactory factory) -
Method Summary
Modifier and TypeMethodDescriptionprotected Object
inject()
Inject outside the context of an HTTP request.inject
(HttpRequest request, HttpResponse response) Inject inside the context of an HTTP request.
-
Field Details
-
type
-
proxy
-
factory
-
-
Constructor Details
-
ContextParameterInjector
-
-
Method Details
-
inject
Description copied from interface:ValueInjector
Inject inside the context of an HTTP request.- Specified by:
inject
in interfaceValueInjector
- Returns:
-
inject
Description copied from interface:ValueInjector
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.- Specified by:
inject
in interfaceValueInjector
- Returns:
-
createProxy
-