Class HttpHeadersUtils (2.49.0)

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
Name Description
headersMap Map<String,String>
Returns
Type Description
String

setHeader(HttpHeaders headers, String key, String value)

public static HttpHeaders setHeader(HttpHeaders headers, String key, String value)
Parameters
Name Description
headers com.google.api.client.http.HttpHeaders
key String
value String
Returns
Type Description
com.google.api.client.http.HttpHeaders

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

public static HttpHeaders setHeaders(HttpHeaders headers, Map<String,String> headersMap)
Parameters
Name Description
headers com.google.api.client.http.HttpHeaders
headersMap Map<String,String>
Returns
Type Description
com.google.api.client.http.HttpHeaders

Constructors

HttpHeadersUtils()

public HttpHeadersUtils()