public class NodeReqResponse extends Object
| Constructor and Description |
|---|
NodeReqResponse(String hostName)
Instantiates a new node req response.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getHostName()
Gets the host name.
|
Map<String,String> |
getRequestParameters()
Gets the request parameters.
|
ResponseOnSingleTask |
getSingleTaskResponse()
Gets the single task response.
|
static String |
replaceStrByMap(Map<String,String> requestParameters,
String sourceContent)
20130507: auto replace part.
|
void |
setCustomReqestContent(String requestVarName,
String requestVarContent)
Sets the custom reqest content.
|
void |
setDefaultEmptyReqestContent()
Sets the default empty reqest content.
|
void |
setDefaultReqestContent(String requestFullContent)
Sets the default reqest content.
|
void |
setHostName(String hostName)
Sets the host name.
|
void |
setSingleTaskResponse(ResponseOnSingleTask singleTaskResponse)
Sets the single task response.
|
String |
toString() |
public NodeReqResponse(String hostName)
hostName - the host namepublic static String replaceStrByMap(Map<String,String> requestParameters, String sourceContent)
requestParameters - the request parameterssourceContent - the source contentpublic void setDefaultReqestContent(String requestFullContent)
requestFullContent - the new default reqest contentpublic void setDefaultEmptyReqestContent()
public void setCustomReqestContent(String requestVarName, String requestVarContent)
requestVarName - the request var namerequestVarContent - the request var contentpublic Map<String,String> getRequestParameters()
public ResponseOnSingleTask getSingleTaskResponse()
public void setSingleTaskResponse(ResponseOnSingleTask singleTaskResponse)
singleTaskResponse - the new single task responsepublic String getHostName()
public void setHostName(String hostName)
hostName - the new host nameCopyright © 2015–2016 eBay. All rights reserved.