public class Spider extends SpiderDeprecated
| Modifier and Type | Method and Description |
|---|---|
ApiResponse |
addDomainAlwaysInScope(java.lang.String value,
java.lang.String isregex,
java.lang.String isenabled)
Adds a new domain that's always in scope, using the specified value.
|
ApiResponse |
addedNodes(java.lang.String scanid)
Returns a list of the names of the nodes added to the Sites tree by the specified scan.
|
ApiResponse |
allUrls()
Returns a list of unique URLs from the history table based on HTTP messages added by the
Spider.
|
ApiResponse |
clearExcludedFromScan()
Clears the regexes of URLs excluded from the spider scans.
|
ApiResponse |
disableAllDomainsAlwaysInScope()
Disables all domains that are always in scope.
|
ApiResponse |
domainsAlwaysInScope()
Gets all the domains that are always in scope.
|
ApiResponse |
enableAllDomainsAlwaysInScope()
Enables all domains that are always in scope.
|
ApiResponse |
excludedFromScan()
Gets the regexes of URLs excluded from the spider scans.
|
ApiResponse |
excludeFromScan(java.lang.String regex)
Adds a regex of URLs that should be excluded from the spider scans.
|
ApiResponse |
fullResults(java.lang.String scanid) |
ApiResponse |
modifyDomainAlwaysInScope(java.lang.String idx,
java.lang.String value,
java.lang.String isregex,
java.lang.String isenabled)
Modifies a domain that's always in scope.
|
ApiResponse |
optionAcceptCookies()
Gets whether or not a spider process should accept cookies while spidering.
|
ApiResponse |
optionDomainsAlwaysInScope()
Deprecated.
|
ApiResponse |
optionDomainsAlwaysInScopeEnabled()
Deprecated.
|
ApiResponse |
optionHandleODataParametersVisited() |
ApiResponse |
optionHandleParameters() |
ApiResponse |
optionMaxChildren()
Gets the maximum number of child nodes (per node) that can be crawled, 0 means no limit.
|
ApiResponse |
optionMaxDepth()
Gets the maximum depth the spider can crawl, 0 if unlimited.
|
ApiResponse |
optionMaxDuration() |
ApiResponse |
optionMaxParseSizeBytes()
Gets the maximum size, in bytes, that a response might have to be parsed.
|
ApiResponse |
optionMaxScansInUI() |
ApiResponse |
optionParseComments() |
ApiResponse |
optionParseGit() |
ApiResponse |
optionParseRobotsTxt() |
ApiResponse |
optionParseSitemapXml() |
ApiResponse |
optionParseSVNEntries() |
ApiResponse |
optionPostForm() |
ApiResponse |
optionProcessForm() |
ApiResponse |
optionRequestWaitTime() |
ApiResponse |
optionScope()
Deprecated.
|
ApiResponse |
optionScopeText()
Deprecated.
|
ApiResponse |
optionSendRefererHeader()
Gets whether or not the 'Referer' header should be sent while spidering.
|
ApiResponse |
optionShowAdvancedDialog() |
ApiResponse |
optionSkipURLString() |
ApiResponse |
optionThreadCount() |
ApiResponse |
optionUserAgent() |
ApiResponse |
pause(java.lang.String scanid) |
ApiResponse |
pauseAllScans() |
ApiResponse |
removeAllScans() |
ApiResponse |
removeDomainAlwaysInScope(java.lang.String idx)
Removes a domain that's always in scope, with the given index.
|
ApiResponse |
removeScan(java.lang.String scanid) |
ApiResponse |
results(java.lang.String scanid) |
ApiResponse |
resume(java.lang.String scanid) |
ApiResponse |
resumeAllScans() |
ApiResponse |
scan(java.lang.String url,
java.lang.String maxchildren,
java.lang.String recurse,
java.lang.String contextname,
java.lang.String subtreeonly)
Runs the spider against the given URL (or context).
|
ApiResponse |
scanAsUser(java.lang.String contextid,
java.lang.String userid,
java.lang.String url,
java.lang.String maxchildren,
java.lang.String recurse,
java.lang.String subtreeonly)
Runs the spider from the perspective of a User, obtained using the given Context ID and User
ID.
|
ApiResponse |
scans() |
ApiResponse |
setOptionAcceptCookies(boolean bool)
Sets whether or not a spider process should accept cookies while spidering.
|
ApiResponse |
setOptionHandleODataParametersVisited(boolean bool) |
ApiResponse |
setOptionHandleParameters(java.lang.String string) |
ApiResponse |
setOptionMaxChildren(int i)
Sets the maximum number of child nodes (per node) that can be crawled, 0 means no limit.
|
ApiResponse |
setOptionMaxDepth(int i)
Sets the maximum depth the spider can crawl, 0 for unlimited depth.
|
ApiResponse |
setOptionMaxDuration(int i) |
ApiResponse |
setOptionMaxParseSizeBytes(int i)
Sets the maximum size, in bytes, that a response might have to be parsed.
|
ApiResponse |
setOptionMaxScansInUI(int i) |
ApiResponse |
setOptionParseComments(boolean bool) |
ApiResponse |
setOptionParseGit(boolean bool) |
ApiResponse |
setOptionParseRobotsTxt(boolean bool) |
ApiResponse |
setOptionParseSitemapXml(boolean bool) |
ApiResponse |
setOptionParseSVNEntries(boolean bool) |
ApiResponse |
setOptionPostForm(boolean bool) |
ApiResponse |
setOptionProcessForm(boolean bool) |
ApiResponse |
setOptionRequestWaitTime(int i) |
ApiResponse |
setOptionScopeString(java.lang.String string)
Deprecated.
Option no longer in effective use.
|
ApiResponse |
setOptionSendRefererHeader(boolean bool)
Sets whether or not the 'Referer' header should be sent while spidering.
|
ApiResponse |
setOptionShowAdvancedDialog(boolean bool) |
ApiResponse |
setOptionSkipURLString(java.lang.String string) |
ApiResponse |
setOptionThreadCount(int i) |
ApiResponse |
setOptionUserAgent(java.lang.String string) |
ApiResponse |
status(java.lang.String scanid) |
ApiResponse |
stop(java.lang.String scanid) |
ApiResponse |
stopAllScans() |
clearExcludedFromScan, excludeFromScan, pause, pauseAllScans, removeAllScans, removeScan, resume, resumeAllScans, scan, scanAsUser, setOptionHandleODataParametersVisited, setOptionHandleParameters, setOptionMaxDepth, setOptionMaxDuration, setOptionMaxScansInUI, setOptionParseComments, setOptionParseGit, setOptionParseRobotsTxt, setOptionParseSitemapXml, setOptionParseSVNEntries, setOptionPostForm, setOptionProcessForm, setOptionRequestWaitTime, setOptionScopeString, setOptionSendRefererHeader, setOptionShowAdvancedDialog, setOptionSkipURLString, setOptionThreadCount, setOptionUserAgent, stop, stopAllScanspublic Spider(ClientApi api)
public ApiResponse status(java.lang.String scanid) throws ClientApiException
ClientApiExceptionpublic ApiResponse results(java.lang.String scanid) throws ClientApiException
ClientApiExceptionpublic ApiResponse fullResults(java.lang.String scanid) throws ClientApiException
ClientApiExceptionpublic ApiResponse scans() throws ClientApiException
ClientApiExceptionpublic ApiResponse excludedFromScan() throws ClientApiException
ClientApiExceptionpublic ApiResponse allUrls() throws ClientApiException
ClientApiExceptionpublic ApiResponse addedNodes(java.lang.String scanid) throws ClientApiException
ClientApiExceptionpublic ApiResponse domainsAlwaysInScope() throws ClientApiException
ClientApiException@Deprecated public ApiResponse optionDomainsAlwaysInScope() throws ClientApiException
ClientApiException@Deprecated public ApiResponse optionDomainsAlwaysInScopeEnabled() throws ClientApiException
ClientApiExceptionpublic ApiResponse optionHandleParameters() throws ClientApiException
ClientApiExceptionpublic ApiResponse optionMaxChildren() throws ClientApiException
ClientApiExceptionpublic ApiResponse optionMaxDepth() throws ClientApiException
ClientApiExceptionpublic ApiResponse optionMaxDuration() throws ClientApiException
ClientApiExceptionpublic ApiResponse optionMaxParseSizeBytes() throws ClientApiException
ClientApiExceptionpublic ApiResponse optionMaxScansInUI() throws ClientApiException
ClientApiExceptionpublic ApiResponse optionRequestWaitTime() throws ClientApiException
ClientApiException@Deprecated public ApiResponse optionScope() throws ClientApiException
ClientApiException@Deprecated public ApiResponse optionScopeText() throws ClientApiException
ClientApiExceptionpublic ApiResponse optionSkipURLString() throws ClientApiException
ClientApiExceptionpublic ApiResponse optionThreadCount() throws ClientApiException
ClientApiExceptionpublic ApiResponse optionUserAgent() throws ClientApiException
ClientApiExceptionpublic ApiResponse optionAcceptCookies() throws ClientApiException
ClientApiExceptionpublic ApiResponse optionHandleODataParametersVisited() throws ClientApiException
ClientApiExceptionpublic ApiResponse optionParseComments() throws ClientApiException
ClientApiExceptionpublic ApiResponse optionParseGit() throws ClientApiException
ClientApiExceptionpublic ApiResponse optionParseRobotsTxt() throws ClientApiException
ClientApiExceptionpublic ApiResponse optionParseSVNEntries() throws ClientApiException
ClientApiExceptionpublic ApiResponse optionParseSitemapXml() throws ClientApiException
ClientApiExceptionpublic ApiResponse optionPostForm() throws ClientApiException
ClientApiExceptionpublic ApiResponse optionProcessForm() throws ClientApiException
ClientApiExceptionpublic ApiResponse optionSendRefererHeader() throws ClientApiException
ClientApiExceptionpublic ApiResponse optionShowAdvancedDialog() throws ClientApiException
ClientApiExceptionpublic ApiResponse scan(java.lang.String url, java.lang.String maxchildren, java.lang.String recurse, java.lang.String contextname, java.lang.String subtreeonly) throws ClientApiException
ClientApiExceptionpublic ApiResponse scanAsUser(java.lang.String contextid, java.lang.String userid, java.lang.String url, java.lang.String maxchildren, java.lang.String recurse, java.lang.String subtreeonly) throws ClientApiException
ClientApiExceptionpublic ApiResponse pause(java.lang.String scanid) throws ClientApiException
ClientApiExceptionpublic ApiResponse resume(java.lang.String scanid) throws ClientApiException
ClientApiExceptionpublic ApiResponse stop(java.lang.String scanid) throws ClientApiException
ClientApiExceptionpublic ApiResponse removeScan(java.lang.String scanid) throws ClientApiException
ClientApiExceptionpublic ApiResponse pauseAllScans() throws ClientApiException
ClientApiExceptionpublic ApiResponse resumeAllScans() throws ClientApiException
ClientApiExceptionpublic ApiResponse stopAllScans() throws ClientApiException
ClientApiExceptionpublic ApiResponse removeAllScans() throws ClientApiException
ClientApiExceptionpublic ApiResponse clearExcludedFromScan() throws ClientApiException
ClientApiExceptionpublic ApiResponse excludeFromScan(java.lang.String regex) throws ClientApiException
ClientApiExceptionpublic ApiResponse addDomainAlwaysInScope(java.lang.String value, java.lang.String isregex, java.lang.String isenabled) throws ClientApiException
ClientApiExceptionpublic ApiResponse modifyDomainAlwaysInScope(java.lang.String idx, java.lang.String value, java.lang.String isregex, java.lang.String isenabled) throws ClientApiException
ClientApiExceptionpublic ApiResponse removeDomainAlwaysInScope(java.lang.String idx) throws ClientApiException
ClientApiExceptionpublic ApiResponse enableAllDomainsAlwaysInScope() throws ClientApiException
ClientApiExceptionpublic ApiResponse disableAllDomainsAlwaysInScope() throws ClientApiException
ClientApiExceptionpublic ApiResponse setOptionHandleParameters(java.lang.String string) throws ClientApiException
ClientApiException@Deprecated public ApiResponse setOptionScopeString(java.lang.String string) throws ClientApiException
ClientApiExceptionpublic ApiResponse setOptionSkipURLString(java.lang.String string) throws ClientApiException
ClientApiExceptionpublic ApiResponse setOptionUserAgent(java.lang.String string) throws ClientApiException
ClientApiExceptionpublic ApiResponse setOptionAcceptCookies(boolean bool) throws ClientApiException
ClientApiExceptionpublic ApiResponse setOptionHandleODataParametersVisited(boolean bool) throws ClientApiException
ClientApiExceptionpublic ApiResponse setOptionMaxChildren(int i) throws ClientApiException
ClientApiExceptionpublic ApiResponse setOptionMaxDepth(int i) throws ClientApiException
ClientApiExceptionpublic ApiResponse setOptionMaxDuration(int i) throws ClientApiException
ClientApiExceptionpublic ApiResponse setOptionMaxParseSizeBytes(int i) throws ClientApiException
ClientApiExceptionpublic ApiResponse setOptionMaxScansInUI(int i) throws ClientApiException
ClientApiExceptionpublic ApiResponse setOptionParseComments(boolean bool) throws ClientApiException
ClientApiExceptionpublic ApiResponse setOptionParseGit(boolean bool) throws ClientApiException
ClientApiExceptionpublic ApiResponse setOptionParseRobotsTxt(boolean bool) throws ClientApiException
ClientApiExceptionpublic ApiResponse setOptionParseSVNEntries(boolean bool) throws ClientApiException
ClientApiExceptionpublic ApiResponse setOptionParseSitemapXml(boolean bool) throws ClientApiException
ClientApiExceptionpublic ApiResponse setOptionPostForm(boolean bool) throws ClientApiException
ClientApiExceptionpublic ApiResponse setOptionProcessForm(boolean bool) throws ClientApiException
ClientApiExceptionpublic ApiResponse setOptionRequestWaitTime(int i) throws ClientApiException
ClientApiExceptionpublic ApiResponse setOptionSendRefererHeader(boolean bool) throws ClientApiException
ClientApiExceptionpublic ApiResponse setOptionShowAdvancedDialog(boolean bool) throws ClientApiException
ClientApiExceptionpublic ApiResponse setOptionThreadCount(int i) throws ClientApiException
ClientApiException