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 |
---|---|
HttpProfile |
getHttpProfile() |
Language |
getLanguage() |
String |
getSignMethod() |
boolean |
isDebug() |
boolean |
isUnsignedPayload()
Get the flag of whether payload is ignored.
|
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 void setSignMethod(String signMethod)
public void setHttpProfile(HttpProfile httpProfile)
public String getSignMethod()
public HttpProfile getHttpProfile()
public void setUnsignedPayload(boolean flag)
flag
- public boolean isUnsignedPayload()
public Language getLanguage()
public void setLanguage(Language lang)
public boolean isDebug()
public void setDebug(boolean debug)
Copyright © 2021. All rights reserved.