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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.
-
-