public class QueryInjector extends Object implements ValueInjector
Constructor and Description |
---|
QueryInjector(Class type,
ResteasyProviderFactory factory) |
Modifier and Type | Method and Description |
---|---|
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 QueryInjector(Class type, ResteasyProviderFactory factory)
public CompletionStage<Object> inject(boolean unwrapAsync)
ValueInjector
inject
in interface ValueInjector
unwrapAsync
- unwrap asyncpublic CompletionStage<Object> inject(HttpRequest request, HttpResponse response, boolean unwrapAsync)
ValueInjector
inject
in interface ValueInjector
request
- http requestresponse
- http responseunwrapAsync
- unwrap asyncCopyright © 2019 JBoss by Red Hat. All rights reserved.