public class CookieParamInjector extends StringParameterInjector implements ValueInjector
baseType, collectionType, constructor, converter, defaultValue, delegate, isCollection, 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 |
---|---|
Object |
inject()
Inject outside the context of an HTTP request.
|
Object |
inject(HttpRequest request,
HttpResponse response)
Inject inside the context of an HTTP request.
|
extractValue, extractValues, getParamSignature, initialize, isCollectionOrArray
public CookieParamInjector(Class type, Type genericType, AccessibleObject target, String cookieName, String defaultValue, Annotation[] annotations, ResteasyProviderFactory factory)
public Object inject(HttpRequest request, HttpResponse response)
ValueInjector
inject
in interface ValueInjector
public Object inject()
ValueInjector
inject
in interface ValueInjector
Copyright © 2018 JBoss by Red Hat. All rights reserved.