public class ScanRequest extends ScanRequestBase
| Modifier and Type | Field and Description |
|---|---|
String |
profileId |
ScanType |
scanType |
URI |
scanUri |
URI |
testUri |
VCSCommit |
vcsCommit |
String |
websiteId |
ApiToken, ApiURL, json| Constructor and Description |
|---|
ScanRequest(String apiURL,
hudson.util.Secret apiToken,
String scanType,
String websiteId,
String profileId,
VCSCommit vcsCommit) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.http.HttpResponse |
scanRequest() |
org.apache.http.HttpResponse |
testRequest() |
getAuthHeader, getHttpClientpublic final ScanType scanType
public final String websiteId
public final String profileId
public final VCSCommit vcsCommit
public final URI scanUri
public final URI testUri
public ScanRequest(String apiURL, hudson.util.Secret apiToken, String scanType, String websiteId, String profileId, VCSCommit vcsCommit) throws MalformedURLException, NullPointerException, URISyntaxException
public org.apache.http.HttpResponse scanRequest()
throws IOException
IOExceptionpublic org.apache.http.HttpResponse testRequest()
throws IOException
IOExceptionCopyright © 2016–2020. All rights reserved.