public class HeaderParamInjector extends StringParameterInjector implements ValueInjector
baseGenericType, baseType, collectionType, constructor, converter, defaultValue, delegate, isCollection, paramConverter, paramName, paramType, target, type, unmarshaller, valueOf| Constructor and Description |
|---|
HeaderParamInjector(java.lang.Class type,
java.lang.reflect.Type genericType,
java.lang.reflect.AccessibleObject target,
java.lang.String header,
java.lang.String defaultValue,
java.lang.annotation.Annotation[] annotations,
ResteasyProviderFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
inject()
Inject outside the context of an HTTP request.
|
java.lang.Object |
inject(HttpRequest request,
HttpResponse response)
Inject inside the context of an HTTP request.
|
extractValue, extractValues, getParamSignature, initialize, isCollectionOrArray, throwProcessingExceptionpublic HeaderParamInjector(java.lang.Class type,
java.lang.reflect.Type genericType,
java.lang.reflect.AccessibleObject target,
java.lang.String header,
java.lang.String defaultValue,
java.lang.annotation.Annotation[] annotations,
ResteasyProviderFactory factory)
public java.lang.Object inject(HttpRequest request, HttpResponse response)
ValueInjectorinject in interface ValueInjectorpublic java.lang.Object inject()
ValueInjectorinject in interface ValueInjector