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() |
CompletionStage<Object> |
inject(boolean unwrapAsync)
Inject outside the context of an HTTP request.
|
CompletionStage<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 CompletionStage<Object> inject(HttpRequest request, HttpResponse response, boolean unwrapAsync)
ValueInjector
inject
in interface ValueInjector
request
- http requestresponse
- http responseunwrapAsync
- unwrap asyncpublic CompletionStage<Object> inject(boolean unwrapAsync)
ValueInjector
inject
in interface ValueInjector
unwrapAsync
- unwrap asyncprotected Object createProxy()
Copyright © 2019 JBoss by Red Hat. All rights reserved.