Package org.apache.cxf.jaxrs.impl.tl
Class ThreadLocalProtocolHeaders
java.lang.Object
org.apache.cxf.jaxrs.impl.tl.AbstractThreadLocalProxy<ProtocolHeaders>
org.apache.cxf.jaxrs.impl.tl.ThreadLocalProtocolHeaders
- All Implemented Interfaces:
ProtocolHeaders
,ThreadLocalProxy<ProtocolHeaders>
public class ThreadLocalProtocolHeaders
extends AbstractThreadLocalProxy<ProtocolHeaders>
implements ProtocolHeaders
-
Constructor Summary
-
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.Methods inherited from class org.apache.cxf.jaxrs.impl.tl.AbstractThreadLocalProxy
get, remove, set
-
Constructor Details
-
ThreadLocalProtocolHeaders
public ThreadLocalProtocolHeaders()
-
-
Method Details
-
getRequestHeaders
Description copied from interface:ProtocolHeaders
Get the values of request headers.- Specified by:
getRequestHeaders
in interfaceProtocolHeaders
- Returns:
- a read-only map of header names and values.
-
getRequestHeader
Description copied from interface:ProtocolHeaders
Get the values of a request header.- Specified by:
getRequestHeader
in interfaceProtocolHeaders
- Parameters:
name
- the header name, case insensitive- Returns:
- a read-only list of header values.
-
getRequestHeaderValue
Description copied from interface:ProtocolHeaders
Get the value of a request header.- Specified by:
getRequestHeaderValue
in interfaceProtocolHeaders
- Parameters:
name
- the header name, case insensitive- Returns:
- the header value
-