public interface ConstructorInjector
Modifier and Type | Method and Description |
---|---|
CompletionStage<Object> |
construct(boolean unwrapAsync)
Construct outside the scope of an HTTP request.
|
CompletionStage<Object> |
construct(HttpRequest request,
HttpResponse response,
boolean unwrapAsync)
Construct inside the scope of an HTTP request.
|
CompletionStage<Object[]> |
injectableArguments(boolean unwrapAsync)
Create an arguments list from injectable tings outside the scope of an HTTP request.
|
CompletionStage<Object[]> |
injectableArguments(HttpRequest request,
HttpResponse response,
boolean unwrapAsync)
Create an argument list inside the scope of an HTTP request.
|
CompletionStage<Object> construct(boolean unwrapAsync)
unwrapAsync
- unwrap asyncCompletionStage<Object> construct(HttpRequest request, HttpResponse response, boolean unwrapAsync) throws Failure, javax.ws.rs.WebApplicationException, ApplicationException
request
- http requestresponse
- http responseunwrapAsync
- unwrap asyncFailure
- if failure occurredjavax.ws.rs.WebApplicationException
- if application exception occurredApplicationException
- if application exception occurredCompletionStage<Object[]> injectableArguments(boolean unwrapAsync)
unwrapAsync
- unwrap asyncCompletionStage<Object[]> injectableArguments(HttpRequest request, HttpResponse response, boolean unwrapAsync) throws Failure
request
- http requestresponse
- http responseunwrapAsync
- unwrap asyncFailure
- if failure occurredCopyright © 2019 JBoss by Red Hat. All rights reserved.