public enum SigningStrategy extends Enum<SigningStrategy>
Enum for the various signing strategies used by OCI.
Enum Constant and Description |
---|
EXCLUDE_BODY
A strategy that does not sign the body.
|
STANDARD
Standard signing strategy.
|
Modifier and Type | Method and Description |
---|---|
Map<String,List<String>> |
getHeadersToSign()
The Map of headers (by HTTP method) to sign.
|
Map<String,List<String>> |
getOptionalHeadersToSign()
The Map of headers (by HTTP method) to sign, if they are set.
|
boolean |
isSkipContentHeadersForStreamingPutRequests()
Flag to indicate whether a PUT requests require content-* headers to be signed.
|
static SigningStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SigningStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SigningStrategy STANDARD
public static final SigningStrategy EXCLUDE_BODY
public static SigningStrategy[] values()
for (SigningStrategy c : SigningStrategy.values()) System.out.println(c);
public static SigningStrategy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Map<String,List<String>> getHeadersToSign()
The Map of headers (by HTTP method) to sign.
public Map<String,List<String>> getOptionalHeadersToSign()
The Map of headers (by HTTP method) to sign, if they are set.
public boolean isSkipContentHeadersForStreamingPutRequests()
Flag to indicate whether a PUT requests require content-* headers to be signed.
Copyright © 2016–2024. All rights reserved.