Package com.netsparker.cloud.model
Class ScanRequestResult
java.lang.Object
com.netsparker.cloud.model.ScanRequestBase
com.netsparker.cloud.model.ScanRequestResult
-
Field Summary
Fields inherited from class com.netsparker.cloud.model.ScanRequestBase
ApiToken, ApiURL, json, proxy
-
Constructor Summary
ConstructorDescriptionScanRequestResult
(org.apache.hc.core5.http.ClassicHttpResponse response, String apiURL, Secret apiToken, String ncReportType, ProxyBlock proxy) -
Method Summary
Modifier and TypeMethodDescriptionstatic ScanRequestResult
errorResult
(String errorMessage) int
boolean
isError()
boolean
Methods inherited from class com.netsparker.cloud.model.ScanRequestBase
getAuthHeader, getHttpClient
-
Constructor Details
-
ScanRequestResult
public ScanRequestResult(org.apache.hc.core5.http.ClassicHttpResponse response, String apiURL, Secret apiToken, String ncReportType, ProxyBlock proxy) throws MalformedURLException, URISyntaxException
-
-
Method Details
-
errorResult
-
getScanTaskId
-
getHttpStatusCode
public int getHttpStatusCode() -
getErrorMessage
-
isError
public boolean isError() -
isReportGenerated
public boolean isReportGenerated() -
getReport
-