public class HttpRequestConfig
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
HttpRequestConfig.Builder
The HttpRequestConfig Builder.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
KEY_AD_CONFIG_ID
Defines the expected key for an adConfig as a query parameter in a catalog request.
|
static java.lang.String |
KEY_DELIVERY_RULE_CONFIG_ID
Defines the expected key for a delivery rule as a query parameter in a catalog request.
|
Modifier and Type | Method and Description |
---|---|
HttpRequestConfig.Builder |
buildUpon()
Creates a new
HttpRequestConfig.Builder using the current HttpRequestConfig instance. |
static HttpRequestConfig |
empty() |
java.lang.String |
getBrightcoveAuthorizationToken()
Gets the Brightcove authorization token.
|
CustomerRightsTokenConfig |
getCustomerRightsTokenConfig() |
java.util.Map<java.lang.String,java.lang.String> |
getQueryParameters()
Gets the HTTP request query parameters as a map of key-value pairs.
|
java.util.Map<java.lang.String,java.lang.String> |
getRequestHeaders()
Gets the HTTP request headers as a map of key-value pairs.
|
public static final java.lang.String KEY_DELIVERY_RULE_CONFIG_ID
public static final java.lang.String KEY_AD_CONFIG_ID
public static HttpRequestConfig empty()
public HttpRequestConfig.Builder buildUpon()
HttpRequestConfig.Builder
using the current HttpRequestConfig
instance.HttpRequestConfig.Builder
initialized with the parameters of this instance.@NonNull public java.lang.String getBrightcoveAuthorizationToken()
@NonNull public CustomerRightsTokenConfig getCustomerRightsTokenConfig()
@NonNull public java.util.Map<java.lang.String,java.lang.String> getRequestHeaders()
@NonNull public java.util.Map<java.lang.String,java.lang.String> getQueryParameters()