public class ClientProfile extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SIGN_SHA1
Signature process version 1, with HmacSHA1.
|
static String |
SIGN_SHA256
Signature process version 1, with HmacSHA256.
|
static String |
SIGN_TC3_256
Signature process version 3.
|
Constructor and Description |
---|
ClientProfile() |
ClientProfile(String signMethod) |
ClientProfile(String signMethod,
HttpProfile httpProfile) |
Modifier and Type | Method and Description |
---|---|
String |
getBackupEndpoint() |
HttpProfile |
getHttpProfile() |
Language |
getLanguage() |
String |
getSignMethod() |
boolean |
isDebug() |
boolean |
isUnsignedPayload()
Get the flag of whether payload is ignored.
|
void |
setBackupEndpoint(String backupEndpoint) |
void |
setDebug(boolean debug) |
void |
setHttpProfile(HttpProfile httpProfile) |
void |
setLanguage(Language lang) |
void |
setSignMethod(String signMethod) |
void |
setUnsignedPayload(boolean flag)
Set the flag of whether payload should be ignored.
|
public static final String SIGN_SHA1
public static final String SIGN_SHA256
public static final String SIGN_TC3_256
public ClientProfile(String signMethod, HttpProfile httpProfile)
public ClientProfile(String signMethod)
public ClientProfile()
public String getSignMethod()
public void setSignMethod(String signMethod)
public HttpProfile getHttpProfile()
public void setHttpProfile(HttpProfile httpProfile)
public boolean isUnsignedPayload()
public void setUnsignedPayload(boolean flag)
flag
- public Language getLanguage()
public void setLanguage(Language lang)
public boolean isDebug()
public void setDebug(boolean debug)
public String getBackupEndpoint()
public void setBackupEndpoint(String backupEndpoint)
Copyright © 2024. All rights reserved.