Package org.jboss.resteasy.core
Class FormInjector
- java.lang.Object
-
- org.jboss.resteasy.core.FormInjector
-
- All Implemented Interfaces:
ValueInjector
- Direct Known Subclasses:
PrefixedFormInjector
public class FormInjector extends java.lang.Object implements ValueInjector
- Version:
- $Revision: 1 $
-
-
Field Summary
Fields Modifier and Type Field Description private ConstructorInjectorconstructorInjectorprivate PropertyInjectorpropertyInjectorprivate java.lang.Classtype
-
Constructor Summary
Constructors Constructor Description FormInjector(java.lang.Class type, ResteasyProviderFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectinject()Inject outside the context of an HTTP request.java.lang.Objectinject(HttpRequest request, HttpResponse response)Inject inside the context of an HTTP request.
-
-
-
Field Detail
-
type
private java.lang.Class type
-
constructorInjector
private ConstructorInjector constructorInjector
-
propertyInjector
private PropertyInjector propertyInjector
-
-
Constructor Detail
-
FormInjector
public FormInjector(java.lang.Class type, ResteasyProviderFactory factory)
-
-
Method Detail
-
inject
public java.lang.Object inject()
Description copied from interface:ValueInjectorInject outside the context of an HTTP request. For instance, a singleton may have proxiable and injectable jax-rs objects like Request, UriInfo, or HttpHeaders.- Specified by:
injectin interfaceValueInjector- Returns:
-
inject
public java.lang.Object inject(HttpRequest request, HttpResponse response)
Description copied from interface:ValueInjectorInject inside the context of an HTTP request.- Specified by:
injectin interfaceValueInjector- Returns:
-
-