public class ContextParameterInjector extends Object implements ValueInjector
Constructor and Description |
---|
ContextParameterInjector(Class proxy,
Class rawType,
Type genericType,
Annotation[] annotations,
ResteasyProviderFactory factory) |
Modifier and Type | Method and Description |
---|---|
protected Object |
createProxy() |
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.
|
public ContextParameterInjector(Class proxy, Class rawType, Type genericType, Annotation[] annotations, ResteasyProviderFactory factory)
public Object inject(HttpRequest request, HttpResponse response, boolean unwrapAsync)
ValueInjector
inject
in interface ValueInjector
request
- http requestresponse
- http responseunwrapAsync
- unwrap asyncpublic Object inject(boolean unwrapAsync)
ValueInjector
inject
in interface ValueInjector
unwrapAsync
- unwrap asyncprotected Object createProxy()
Copyright © 2020 JBoss by Red Hat. All rights reserved.