Apache CXF API

org.apache.cxf.jaxrs.ext
Class ProtocolHeadersImpl

java.lang.Object
  extended by org.apache.cxf.jaxrs.ext.ProtocolHeadersImpl
All Implemented Interfaces:
ProtocolHeaders

public class ProtocolHeadersImpl
extends Object
implements ProtocolHeaders


Constructor Summary
ProtocolHeadersImpl(Message m)
           
 
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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProtocolHeadersImpl

public ProtocolHeadersImpl(Message m)
Method Detail

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 API

Apache CXF