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 |
|---|---|
Object |
construct()
Construct outside the scope of an HTTP request.
|
Object |
construct(HttpRequest request,
HttpResponse httpResponse)
Construct inside the scope of an HTTP request.
|
Object[] |
injectableArguments()
Create an arguments list from injectable tings outside the scope of an HTTP request.
|
Object[] |
injectableArguments(HttpRequest input,
HttpResponse response)
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 Object[] injectableArguments(HttpRequest input, HttpResponse response)
ConstructorInjectorinjectableArguments in interface ConstructorInjectorinput - http requestresponse - http responsepublic Object[] injectableArguments()
ConstructorInjectorinjectableArguments in interface ConstructorInjectorpublic Object construct(HttpRequest request, HttpResponse httpResponse) throws Failure, ApplicationException, javax.ws.rs.WebApplicationException
ConstructorInjectorconstruct in interface ConstructorInjectorrequest - http requesthttpResponse - http responseFailure - if failure occurredApplicationException - if application exception occurredjavax.ws.rs.WebApplicationException - if application exception occurredpublic Object construct()
ConstructorInjectorconstruct in interface ConstructorInjectorCopyright © 2018 JBoss by Red Hat. All rights reserved.