public class ConstructorInjectorImpl extends java.lang.Object implements ConstructorInjector
Modifier and Type | Field and Description |
---|---|
protected java.lang.reflect.Constructor |
constructor |
protected ValueInjector[] |
params |
Constructor and Description |
---|
ConstructorInjectorImpl(java.lang.reflect.Constructor constructor,
ResteasyProviderFactory factory) |
ConstructorInjectorImpl(ResourceConstructor constructor,
ResteasyProviderFactory factory) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
construct()
construct outside the scope of an HTTP request.
|
java.lang.Object |
construct(HttpRequest request,
HttpResponse httpResponse)
construct inside the scope of an HTTP request.
|
java.lang.Object[] |
injectableArguments()
Create an arguments list from injectable tings outside the scope of an HTTP request.
|
java.lang.Object[] |
injectableArguments(HttpRequest input,
HttpResponse response)
Create an argument list inside the scope of an HTTP request.
|
protected java.lang.reflect.Constructor constructor
protected ValueInjector[] params
public ConstructorInjectorImpl(ResourceConstructor constructor, ResteasyProviderFactory factory)
public ConstructorInjectorImpl(java.lang.reflect.Constructor constructor, ResteasyProviderFactory factory)
public java.lang.Object[] injectableArguments(HttpRequest input, HttpResponse response)
ConstructorInjector
injectableArguments
in interface ConstructorInjector
public java.lang.Object[] injectableArguments()
ConstructorInjector
injectableArguments
in interface ConstructorInjector
public java.lang.Object construct(HttpRequest request, HttpResponse httpResponse) throws Failure, ApplicationException, javax.ws.rs.WebApplicationException
ConstructorInjector
construct
in interface ConstructorInjector
Failure
ApplicationException
javax.ws.rs.WebApplicationException
public java.lang.Object construct()
ConstructorInjector
construct
in interface ConstructorInjector