Package org.jboss.resteasy.core
Class ConstructorInjectorImpl
- java.lang.Object
-
- org.jboss.resteasy.core.ConstructorInjectorImpl
-
- All Implemented Interfaces:
ConstructorInjector
public class ConstructorInjectorImpl extends Object implements ConstructorInjector
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Field Summary
Fields Modifier and Type Field Description protected Constructorconstructorprotected ValueInjector[]params
-
Constructor Summary
Constructors Constructor Description ConstructorInjectorImpl(Constructor constructor, ResteasyProviderFactory factory)ConstructorInjectorImpl(ResourceConstructor constructor, ResteasyProviderFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectconstruct(boolean unwrapAsync)Objectconstruct(HttpRequest request, HttpResponse httpResponse, boolean unwrapAsync)protected ObjectconstructInRequest(Object[] args)protected ObjectconstructOutsideRequest(Object[] args)ObjectinjectableArguments(boolean unwrapAsync)ObjectinjectableArguments(HttpRequest input, HttpResponse response, boolean unwrapAsync)
-
-
-
Field Detail
-
constructor
protected Constructor constructor
-
params
protected ValueInjector[] params
-
-
Constructor Detail
-
ConstructorInjectorImpl
public ConstructorInjectorImpl(ResourceConstructor constructor, ResteasyProviderFactory factory)
-
ConstructorInjectorImpl
public ConstructorInjectorImpl(Constructor constructor, ResteasyProviderFactory factory)
-
-
Method Detail
-
injectableArguments
public Object injectableArguments(HttpRequest input, HttpResponse response, boolean unwrapAsync)
- Specified by:
injectableArgumentsin interfaceConstructorInjector
-
injectableArguments
public Object injectableArguments(boolean unwrapAsync)
- Specified by:
injectableArgumentsin interfaceConstructorInjector
-
construct
public Object construct(HttpRequest request, HttpResponse httpResponse, boolean unwrapAsync) throws Failure, ApplicationException, javax.ws.rs.WebApplicationException
- Specified by:
constructin interfaceConstructorInjector- Throws:
FailureApplicationExceptionjavax.ws.rs.WebApplicationException
-
construct
public Object construct(boolean unwrapAsync)
- Specified by:
constructin interfaceConstructorInjector
-
-