org.apache.cxf.jaxrs.ext
Class ProtocolHeadersImpl
java.lang.Object
org.apache.cxf.jaxrs.ext.ProtocolHeadersImpl
- All Implemented Interfaces:
- ProtocolHeaders
public class ProtocolHeadersImpl
- extends Object
- implements ProtocolHeaders
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProtocolHeadersImpl
public ProtocolHeadersImpl(Message m)
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
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.
Apache CXF