public class ContextParameterInjector extends java.lang.Object implements ValueInjector
| Modifier and Type | Class and Description |
|---|---|
private class |
ContextParameterInjector.GenericDelegatingProxy |
| Modifier and Type | Field and Description |
|---|---|
private ResteasyProviderFactory |
factory |
private java.lang.Class |
proxy |
private java.lang.Class |
type |
| Constructor and Description |
|---|
ContextParameterInjector(java.lang.Class proxy,
java.lang.Class type,
ResteasyProviderFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
createProxy() |
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.
|
private java.lang.Class type
private java.lang.Class proxy
private ResteasyProviderFactory factory
public ContextParameterInjector(java.lang.Class proxy,
java.lang.Class type,
ResteasyProviderFactory factory)
public java.lang.Object inject(HttpRequest request, HttpResponse response)
ValueInjectorinject in interface ValueInjectorpublic java.lang.Object inject()
ValueInjectorinject in interface ValueInjectorprotected java.lang.Object createProxy()