public class ThreadLocalProtocolHeaders extends AbstractThreadLocalProxy<ProtocolHeaders> implements ProtocolHeaders
Constructor and Description |
---|
ThreadLocalProtocolHeaders() |
Modifier and Type | Method and 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.
|
get, remove, set
public javax.ws.rs.core.MultivaluedMap<String,String> getRequestHeaders()
ProtocolHeaders
getRequestHeaders
in interface ProtocolHeaders
public List<String> getRequestHeader(String name)
ProtocolHeaders
getRequestHeader
in interface ProtocolHeaders
name
- the header name, case insensitivepublic String getRequestHeaderValue(String name)
ProtocolHeaders
getRequestHeaderValue
in interface ProtocolHeaders
name
- the header name, case insensitiveApache CXF