Package org.hl7.fhir.utilities.http
Class HTTPHeaderUtil
- java.lang.Object
-
- org.hl7.fhir.utilities.http.HTTPHeaderUtil
-
public class HTTPHeaderUtil extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringUSER_AGENT
-
Constructor Summary
Constructors Constructor Description HTTPHeaderUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Iterable<String>getHeaders(Iterable<HTTPHeader> headers, String key)static Map<String,List<String>>getMultimap(Iterable<HTTPHeader> headers)static StringgetSingleHeader(Iterable<HTTPHeader> headers, String key)
-
-
-
Field Detail
-
USER_AGENT
public static final String USER_AGENT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
HTTPHeaderUtil
public HTTPHeaderUtil()
-
-
Method Detail
-
getMultimap
public static Map<String,List<String>> getMultimap(Iterable<HTTPHeader> headers)
-
getHeaders
public static Iterable<String> getHeaders(Iterable<HTTPHeader> headers, String key)
-
getSingleHeader
public static String getSingleHeader(Iterable<HTTPHeader> headers, String key)
-
-