public class QueryParamInjector extends StringParameterInjector implements ValueInjector
baseGenericType, baseType, collectionType, constructor, converter, 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()
Inject outside the context of an HTTP request.
|
Object |
inject(HttpRequest request,
HttpResponse response)
Inject inside the context of an HTTP request.
|
protected void |
throwProcessingException(String message,
Throwable cause) |
extractValue, extractValues, 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)
ValueInjector
inject
in interface ValueInjector
request
- http requestresponse
- http responsepublic Object inject()
ValueInjector
inject
in interface ValueInjector
Copyright © 2019 JBoss by Red Hat. All rights reserved.