org.jboss.resteasy.core
Class CookieParamInjector
java.lang.Object
org.jboss.resteasy.core.StringParameterInjector
org.jboss.resteasy.core.CookieParamInjector
- All Implemented Interfaces:
- ValueInjector
public class CookieParamInjector
- extends StringParameterInjector
- implements ValueInjector
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
Fields inherited from class org.jboss.resteasy.core.StringParameterInjector |
baseGenericType, baseType, collectionType, constructor, converter, defaultValue, delegate, isCollection, paramConverter, paramName, paramType, target, type, unmarshaller, valueOf |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CookieParamInjector
public CookieParamInjector(Class type,
Type genericType,
AccessibleObject target,
String cookieName,
String defaultValue,
Annotation[] annotations,
ResteasyProviderFactory factory)
inject
public Object inject(HttpRequest request,
HttpResponse response)
- Description copied from interface:
ValueInjector
- Inject inside the context of an HTTP request.
- Specified by:
inject
in interface ValueInjector
- Returns:
inject
public Object inject()
- Description copied from interface:
ValueInjector
- Inject outside the context of an HTTP request. For instance, a singleton may have proxiable and injectable
jax-rs objects like Request, UriInfo, or HttpHeaders.
- Specified by:
inject
in interface ValueInjector
- Returns:
Copyright © 2013. All Rights Reserved.