org.apache.cxf.jaxrs.impl.tl
Class ThreadLocalProtocolHeaders
java.lang.Object
org.apache.cxf.jaxrs.impl.tl.AbstractThreadLocalProxy<ProtocolHeaders>
org.apache.cxf.jaxrs.impl.tl.ThreadLocalProtocolHeaders
- All Implemented Interfaces:
- ProtocolHeaders, ThreadLocalProxy<ProtocolHeaders>
public class ThreadLocalProtocolHeaders
- extends AbstractThreadLocalProxy<ProtocolHeaders>
- implements ProtocolHeaders
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThreadLocalProtocolHeaders
public ThreadLocalProtocolHeaders()
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