public class CookieParamInjector extends StringParameterInjector implements ValueInjector
baseGenericType, baseType, collectionType, constructor, defaultValue, delegate, isArray, isCollection, paramConverter, paramName, paramType, target, type, unmarshaller, valueOf
Constructor and Description |
---|
CookieParamInjector(Class type,
Type genericType,
AccessibleObject target,
String cookieName,
String defaultValue,
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 CookieParamInjector(Class type, Type genericType, AccessibleObject target, String cookieName, String defaultValue, 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 © 2021 JBoss by Red Hat. All rights reserved.