public class ConstructorInjectorImpl extends Object implements ConstructorInjector
| Modifier and Type | Field and Description |
|---|---|
protected Constructor |
constructor |
protected ValueInjector[] |
params |
| Constructor and Description |
|---|
ConstructorInjectorImpl(Constructor constructor,
ResteasyProviderFactory factory) |
ConstructorInjectorImpl(ResourceConstructor constructor,
ResteasyProviderFactory factory) |
| 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 httpResponse,
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 input,
HttpResponse response,
boolean unwrapAsync)
Create an argument list inside the scope of an HTTP request.
|
protected Constructor constructor
protected ValueInjector[] params
public ConstructorInjectorImpl(ResourceConstructor constructor, ResteasyProviderFactory factory)
public ConstructorInjectorImpl(Constructor constructor, ResteasyProviderFactory factory)
public CompletionStage<Object[]> injectableArguments(HttpRequest input, HttpResponse response, boolean unwrapAsync)
ConstructorInjectorinjectableArguments in interface ConstructorInjectorinput - http requestresponse - http responseunwrapAsync - unwrap asyncpublic CompletionStage<Object[]> injectableArguments(boolean unwrapAsync)
ConstructorInjectorinjectableArguments in interface ConstructorInjectorunwrapAsync - unwrap asyncpublic CompletionStage<Object> construct(HttpRequest request, HttpResponse httpResponse, boolean unwrapAsync) throws Failure, ApplicationException, javax.ws.rs.WebApplicationException
ConstructorInjectorconstruct in interface ConstructorInjectorrequest - http requesthttpResponse - http responseunwrapAsync - unwrap asyncFailure - if failure occurredApplicationException - if application exception occurredjavax.ws.rs.WebApplicationException - if application exception occurredpublic CompletionStage<Object> construct(boolean unwrapAsync)
ConstructorInjectorconstruct in interface ConstructorInjectorunwrapAsync - unwrap asyncCopyright © 2019 JBoss by Red Hat. All rights reserved.