public class Constants extends Object
Modifier and Type | Field and Description |
---|---|
static List<String> |
ALL_HEADERS_LIST |
static List<String> |
BODY_HEADERS_LIST |
static String |
CROSS_TENANCY_REQUEST_HEADER_NAME |
static List<String> |
GENERIC_HEADERS_LIST |
static String |
HOST |
static String |
OPC_OBO_TOKEN |
static List<String> |
OPTIONAL_HEADERS_NAMES
Headers included in the signature if they are set.
|
static Map<String,List<String>> |
OPTIONAL_SIGNING_HEADERS_MAP |
static Map<String,List<String>> |
REQUIRED_EXCLUDE_BODY_SIGNING_HEADERS_MAP
A signing strategy that signs headers only.
|
static Map<String,List<String>> |
REQUIRED_SIGNING_HEADERS_MAP |
Constructor and Description |
---|
Constants() |
Modifier and Type | Method and Description |
---|---|
static Map<String,List<String>> |
createHeadersToSignForVerbMap(List<String> getHeaders,
List<String> headHeaders,
List<String> deleteHeaders,
List<String> putHeaders,
List<String> postHeaders,
List<String> patchHeaders)
Creates a map of headers to sign for each HTTP method.
|
public static final String HOST
public static final String CROSS_TENANCY_REQUEST_HEADER_NAME
public static final String OPC_OBO_TOKEN
public static final Map<String,List<String>> REQUIRED_SIGNING_HEADERS_MAP
public static final Map<String,List<String>> REQUIRED_EXCLUDE_BODY_SIGNING_HEADERS_MAP
A signing strategy that signs headers only.
public static final List<String> OPTIONAL_HEADERS_NAMES
Headers included in the signature if they are set.
public static Map<String,List<String>> createHeadersToSignForVerbMap(List<String> getHeaders, List<String> headHeaders, List<String> deleteHeaders, List<String> putHeaders, List<String> postHeaders, List<String> patchHeaders)
Creates a map of headers to sign for each HTTP method.
getHeaders
- headers for GET requestsheadHeaders
- headers for HEAD requestsdeleteHeaders
- headers for DELETE requestsputHeaders
- headers for PUT requestspostHeaders
- headers for POST requestspatchHeaders
- headers for PATCH requestsCopyright © 2016–2024. All rights reserved.