public class ContextParameterInjector extends Object implements ValueInjector
Constructor and Description |
---|
ContextParameterInjector(Class proxy,
Class type,
ResteasyProviderFactory factory) |
Modifier and Type | Method and Description |
---|---|
protected Object |
createProxy() |
Object |
inject()
Inject outside the context of an HTTP request.
|
Object |
inject(HttpRequest request,
HttpResponse response)
Inject inside the context of an HTTP request.
|
public ContextParameterInjector(Class proxy, Class type, ResteasyProviderFactory factory)
public Object inject(HttpRequest request, HttpResponse response)
ValueInjector
inject
in interface ValueInjector
request
- http requestresponse
- http responsepublic Object inject()
ValueInjector
inject
in interface ValueInjector
protected Object createProxy()
Copyright © 2020 JBoss by Red Hat. All rights reserved.