Package com.qualys.plugins.pc.client
Class QualysPCResponse
- java.lang.Object
-
- com.qualys.plugins.pc.client.QualysPCResponse
-
public class QualysPCResponse extends Object
-
-
Constructor Summary
Constructors Constructor Description QualysPCResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetErrorMessage()StringgetRequest()StringgetRequestBody()StringgetRequestParam()com.google.gson.JsonObjectgetResponse()intgetResponseCode()DocumentgetResponseXml()booleanisErrored()voidsetErrored(boolean errored)voidsetErrorMessage(String errorMessage)voidsetRequest(String request)voidsetRequestBody(String requestBody)voidsetRequestParam(String requestParam)voidsetResponse(com.google.gson.JsonObject response)voidsetResponseCode(int responseCode)voidsetResponseXml(Document responseXml)
-
-
-
Method Detail
-
getResponse
public com.google.gson.JsonObject getResponse()
- Returns:
- the response
-
setResponse
public void setResponse(com.google.gson.JsonObject response)
- Parameters:
response- the response to set
-
getResponseXml
public Document getResponseXml()
- Returns:
- the responseXml
-
setResponseXml
public void setResponseXml(Document responseXml)
- Parameters:
responseXml- the responseXml to set
-
getRequest
public String getRequest()
- Returns:
- the request
-
setRequest
public void setRequest(String request)
- Parameters:
request- the request to set
-
getRequestBody
public String getRequestBody()
- Returns:
- the requestBody
-
setRequestBody
public void setRequestBody(String requestBody)
- Parameters:
requestBody- the requestBody to set
-
getRequestParam
public String getRequestParam()
- Returns:
- the requestParam
-
setRequestParam
public void setRequestParam(String requestParam)
- Parameters:
requestParam- the requestParam to set
-
getResponseCode
public int getResponseCode()
- Returns:
- the responseCode
-
setResponseCode
public void setResponseCode(int responseCode)
- Parameters:
responseCode- the responseCode to set
-
isErrored
public boolean isErrored()
- Returns:
- the errored
-
setErrored
public void setErrored(boolean errored)
- Parameters:
errored- the errored to set
-
getErrorMessage
public String getErrorMessage()
- Returns:
- the errorMessage
-
setErrorMessage
public void setErrorMessage(String errorMessage)
- Parameters:
errorMessage- the errorMessage to set
-
-