Package org.jboss.resteasy.core
Class QueryInjector
- java.lang.Object
-
- org.jboss.resteasy.core.QueryInjector
-
- All Implemented Interfaces:
ValueInjector
public class QueryInjector extends java.lang.Object implements ValueInjector
Created by Simon Ström on 7/17/14.
-
-
Field Summary
Fields Modifier and Type Field Description private ConstructorInjectorconstructorInjectorprivate PropertyInjectorpropertyInjectorprivate java.lang.Classtype
-
Constructor Summary
Constructors Constructor Description QueryInjector(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
-
QueryInjector
public QueryInjector(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:
-
-