org.apache.cxf.jaxrs.ext
Interface ProtocolHeaders

All Known Implementing Classes:
ProtocolHeadersImpl, ThreadLocalProtocolHeaders

public interface ProtocolHeaders

An injectable interface that provides access to protocol headers


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.
 

Method Detail

getRequestHeaderValue

String getRequestHeaderValue(String name)
Get the value of a request header.

Parameters:
name - the header name, case insensitive
Returns:
the header value

getRequestHeader

List<String> getRequestHeader(String name)
Get the values of a request header.

Parameters:
name - the header name, case insensitive
Returns:
a read-only list of header values.

getRequestHeaders

javax.ws.rs.core.MultivaluedMap<String,String> getRequestHeaders()
Get the values of request headers.

Returns:
a read-only map of header names and values.


Apache CXF