public class QueryParamInjector extends StringParameterInjector implements ValueInjector
baseGenericType, baseType, collectionType, constructor, defaultValue, delegate, isArray, isCollection, paramConverter, paramName, paramType, target, type, unmarshaller, valueOf
Constructor and Description |
---|
QueryParamInjector(Class type,
Type genericType,
AccessibleObject target,
String paramName,
String defaultValue,
boolean encode,
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.
|
protected void |
throwProcessingException(String message,
Throwable cause) |
extractValue, extractValues, getHeaderDelegate, getParamConverter, getParamSignature, initialize, isCollectionOrArray
public QueryParamInjector(Class type, Type genericType, AccessibleObject target, String paramName, String defaultValue, boolean encode, Annotation[] annotations, ResteasyProviderFactory factory)
protected void throwProcessingException(String message, Throwable cause)
throwProcessingException
in class StringParameterInjector
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 © 2020 JBoss by Red Hat. All rights reserved.