Apache CXF API

org.apache.cxf.jaxrs.impl.tl
Class ThreadLocalProtocolHeaders

java.lang.Object
  extended by org.apache.cxf.jaxrs.impl.tl.AbstractThreadLocalProxy<ProtocolHeaders>
      extended by org.apache.cxf.jaxrs.impl.tl.ThreadLocalProtocolHeaders
All Implemented Interfaces:
ProtocolHeaders, ThreadLocalProxy<ProtocolHeaders>

public class ThreadLocalProtocolHeaders
extends AbstractThreadLocalProxy<ProtocolHeaders>
implements ProtocolHeaders


Constructor Summary
ThreadLocalProtocolHeaders()
           
 
Method Summary
 List<String> getRequestHeader(String name)
          Get the values of a request header.
 javax.ws.rs.core.MultivaluedMap<String,String> getRequestHeaders()
          Get the values of request headers.
 String getRequestHeaderValue(String name)
          Get the value of a request header.
 
Methods inherited from class org.apache.cxf.jaxrs.impl.tl.AbstractThreadLocalProxy
get, remove, set
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadLocalProtocolHeaders

public ThreadLocalProtocolHeaders()
Method Detail

getRequestHeaders

public javax.ws.rs.core.MultivaluedMap<String,String> getRequestHeaders()
Description copied from interface: ProtocolHeaders
Get the values of request headers.

Specified by:
getRequestHeaders in interface ProtocolHeaders
Returns:
a read-only map of header names and values.

getRequestHeader

public List<String> getRequestHeader(String name)
Description copied from interface: ProtocolHeaders
Get the values of a request header.

Specified by:
getRequestHeader in interface ProtocolHeaders
Parameters:
name - the header name, case insensitive
Returns:
a read-only list of header values.

getRequestHeaderValue

public String getRequestHeaderValue(String name)
Description copied from interface: ProtocolHeaders
Get the value of a request header.

Specified by:
getRequestHeaderValue in interface ProtocolHeaders
Parameters:
name - the header name, case insensitive
Returns:
the header value

Apache CXF API

Apache CXF