public class HeaderParamInjector extends StringParameterInjector implements ValueInjector
baseGenericType, baseType, collectionType, constructor, defaultValue, delegate, isArray, isCollection, paramConverter, paramName, paramType, target, type, unmarshaller, valueOf
Constructor and Description |
---|
HeaderParamInjector(Class type,
Type genericType,
AccessibleObject target,
String header,
String defaultValue,
Annotation[] annotations,
ResteasyProviderFactory factory) |
Modifier and Type | Method and Description |
---|---|
Object |
inject(boolean unwrapAsync)
Inject outside the context of an HTTP request.
|
Object |
inject(HttpRequest request,
HttpResponse response,
boolean unwrapAsync)
Inject inside the context of an HTTP request.
|
extractValue, extractValues, getHeaderDelegate, getParamConverter, getParamSignature, initialize, isCollectionOrArray, throwProcessingException
public HeaderParamInjector(Class type, Type genericType, AccessibleObject target, String header, String defaultValue, Annotation[] annotations, ResteasyProviderFactory factory)
public Object inject(HttpRequest request, HttpResponse response, boolean unwrapAsync)
ValueInjector
inject
in interface ValueInjector
request
- http requestresponse
- http responseunwrapAsync
- unwrap asyncpublic Object inject(boolean unwrapAsync)
ValueInjector
inject
in interface ValueInjector
unwrapAsync
- unwrap asyncCopyright © 2021 JBoss by Red Hat. All rights reserved.