public interface Scans
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Scans.Factory
Factory for
Scans |
| Modifier and Type | Method and Description |
|---|---|
Scan.Definition |
define()
Starts the definition for a new scan resource.
|
Scan |
get(java.lang.String id)
Retrieves a scan by ID.
|
ScanSummary |
summary(java.lang.String id)
Retrieves a scan's summary by scan ID.
|
Scan.Definition define()
Scan get(java.lang.String id) throws java.io.IOException
id - scan IDjava.io.IOException - when an IO error occurs while making the request to the Contrast APIUnauthorizedException - when Contrast rejects the credentials used to send the requestResourceNotFoundException - when the requested resource does not existHttpResponseException - when Contrast rejects this request with an error codeServerResponseException - when Contrast API returns a response that cannot be understoodScanSummary summary(java.lang.String id) throws java.io.IOException
id - scan IDjava.io.IOException - when an IO error occurs while making the request to the Contrast APIUnauthorizedException - when Contrast rejects the credentials used to send the requestResourceNotFoundException - when the requested resource does not existHttpResponseException - when Contrast rejects this request with an error codeServerResponseException - when Contrast API returns a response that cannot be understoodCopyright © 2021 Contrast Security, Inc.. All rights reserved.