com.netease.cloud
public abstract class WebServiceRequest extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
logID
internal module debugging log info
|
protected String |
logSeq |
Constructor and Description |
---|
WebServiceRequest() |
Modifier and Type | Method and Description |
---|---|
void |
addSpecialHeader(String key,
String value) |
Map<String,String> |
copyPrivateRequestParameters()
Internal only method for accessing private, internal request parameters.
|
String |
getAndIncrementLogSeq() |
String |
getLogID() |
String |
getLogSeq() |
RequestClientOptions |
getRequestClientOptions()
Gets the options stored with this request object.
|
Credentials |
getRequestCredentials()
Returns the optional credentials to use to sign this request, overriding
the default credentials set at the client level.
|
String |
getToken() |
boolean |
needSetLogInfo() |
void |
setLogID(String logID) |
void |
setLogSeq(String logSeq) |
void |
setRequestCredentials(Credentials credentials)
Sets the optional credentials to use for this request, overriding the
default credentials set at the client level.
|
void |
setToken(String token) |
protected String logID
protected String logSeq
public void setRequestCredentials(Credentials credentials)
credentials
- The optional security credentials to use for this request,
overriding the default credentials set at the client level.public Credentials getRequestCredentials()
public Map<String,String> copyPrivateRequestParameters()
public RequestClientOptions getRequestClientOptions()
public String getLogID()
public void setLogID(String logID)
public String getLogSeq()
public String getAndIncrementLogSeq()
public void setLogSeq(String logSeq)
public boolean needSetLogInfo()
public String getToken()
public void setToken(String token)
Copyright © 2017. All Rights Reserved.