Package 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
Modifier and TypeMethodDescriptiongetRequestHeader(String name) Get the values of a request header.Get the values of request headers.getRequestHeaderValue(String name) Get the value of a request header.
-
Method Details
-
getRequestHeaderValue
Get the value of a request header.- Parameters:
name- the header name, case insensitive- Returns:
- the header value
-
getRequestHeader
Get the values of a request header.- Parameters:
name- the header name, case insensitive- Returns:
- a read-only list of header values.
-
getRequestHeaders
Get the values of request headers.- Returns:
- a read-only map of header names and values.
-