Package com.cloudtestapi.common.profile
Class ClientProfile
- java.lang.Object
-
- com.cloudtestapi.common.profile.ClientProfile
-
public class ClientProfile extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringSIGN_SHA1Signature process version 1, with HmacSHA1.static StringSIGN_SHA256Signature process version 1, with HmacSHA256.
-
Constructor Summary
Constructors Constructor Description ClientProfile()ClientProfile(String signMethod)ClientProfile(String signMethod, HttpProfile httpProfile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpProfilegetHttpProfile()StringgetSignMethod()booleanisDebug()ClientProfilesetDebug(boolean debug)ClientProfilesetHttpProfile(HttpProfile httpProfile)ClientProfilesetSignMethod(String signMethod)
-
-
-
Field Detail
-
SIGN_SHA1
public static final String SIGN_SHA1
Signature process version 1, with HmacSHA1.- See Also:
- Constant Field Values
-
SIGN_SHA256
public static final String SIGN_SHA256
Signature process version 1, with HmacSHA256.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ClientProfile
public ClientProfile(String signMethod, HttpProfile httpProfile)
-
ClientProfile
public ClientProfile(String signMethod)
-
ClientProfile
public ClientProfile()
-
-
Method Detail
-
setSignMethod
public ClientProfile setSignMethod(String signMethod)
-
setHttpProfile
public ClientProfile setHttpProfile(HttpProfile httpProfile)
-
getSignMethod
public String getSignMethod()
-
getHttpProfile
public HttpProfile getHttpProfile()
-
isDebug
public boolean isDebug()
-
setDebug
public ClientProfile setDebug(boolean debug)
-
-