public class FormParamInjector extends StringParameterInjector implements ValueInjector
baseGenericType, baseType, collectionType, constructor, defaultValue, delegate, isArray, isCollection, paramConverter, paramName, paramType, target, type, unmarshaller, valueOf
Constructor and Description |
---|
FormParamInjector(Class type,
Type genericType,
AccessibleObject target,
String header,
String defaultValue,
boolean encode,
Annotation[] annotations,
ResteasyProviderFactory factory) |
Modifier and Type | Method and Description |
---|---|
CompletionStage<Object> |
inject(boolean unwrapAsync)
Inject outside the context of an HTTP request.
|
CompletionStage<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 FormParamInjector(Class type, Type genericType, AccessibleObject target, String header, String defaultValue, boolean encode, Annotation[] annotations, ResteasyProviderFactory factory)
public CompletionStage<Object> inject(HttpRequest request, HttpResponse response, boolean unwrapAsync)
ValueInjector
inject
in interface ValueInjector
request
- http requestresponse
- http responseunwrapAsync
- unwrap asyncpublic CompletionStage<Object> inject(boolean unwrapAsync)
ValueInjector
inject
in interface ValueInjector
unwrapAsync
- unwrap asyncCopyright © 2019 JBoss by Red Hat. All rights reserved.