org.jboss.resteasy.core
Class HeaderParamInjector
java.lang.Object
org.jboss.resteasy.core.StringParameterInjector
org.jboss.resteasy.core.HeaderParamInjector
- All Implemented Interfaces:
- ValueInjector
public class HeaderParamInjector
- extends StringParameterInjector
- implements ValueInjector
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
Fields inherited from class org.jboss.resteasy.core.StringParameterInjector |
baseType, collectionType, constructor, converter, defaultValue, delegate, isCollection, paramName, paramType, target, type, unmarshaller, valueOf |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HeaderParamInjector
public HeaderParamInjector(Class type,
Type genericType,
AccessibleObject target,
String header,
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 © 2012. All Rights Reserved.