Class HttpHeadersUtils (2.18.3)

public class HttpHeadersUtils

This class is for internal use only and is public for technical reasons.

Inheritance

java.lang.Object > HttpHeadersUtils

Static Methods

getUserAgentValue(Map<String,String> headersMap)

public static String getUserAgentValue(Map<String,String> headersMap)
Parameter
NameDescription
headersMapMap<String,String>
Returns
TypeDescription
String

setHeader(HttpHeaders headers, String key, String value)

public static HttpHeaders setHeader(HttpHeaders headers, String key, String value)
Parameters
NameDescription
headerscom.google.api.client.http.HttpHeaders
keyString
valueString
Returns
TypeDescription
com.google.api.client.http.HttpHeaders

setHeaders(HttpHeaders headers, Map<String,String> headersMap)

public static HttpHeaders setHeaders(HttpHeaders headers, Map<String,String> headersMap)
Parameters
NameDescription
headerscom.google.api.client.http.HttpHeaders
headersMapMap<String,String>
Returns
TypeDescription
com.google.api.client.http.HttpHeaders

Constructors

HttpHeadersUtils()

public HttpHeadersUtils()