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, stopAllScans
public Spider(ClientApi api)
public ApiResponse status(java.lang.String scanid) throws ClientApiException
ClientApiException
public ApiResponse results(java.lang.String scanid) throws ClientApiException
ClientApiException
public ApiResponse fullResults(java.lang.String scanid) throws ClientApiException
ClientApiException
public ApiResponse scans() throws ClientApiException
ClientApiException
public ApiResponse excludedFromScan() throws ClientApiException
ClientApiException
public ApiResponse allUrls() throws ClientApiException
ClientApiException
public ApiResponse addedNodes(java.lang.String scanid) throws ClientApiException
ClientApiException
public ApiResponse domainsAlwaysInScope() throws ClientApiException
ClientApiException
@Deprecated public ApiResponse optionDomainsAlwaysInScope() throws ClientApiException
ClientApiException
@Deprecated public ApiResponse optionDomainsAlwaysInScopeEnabled() throws ClientApiException
ClientApiException
public ApiResponse optionHandleParameters() throws ClientApiException
ClientApiException
public ApiResponse optionMaxChildren() throws ClientApiException
ClientApiException
public ApiResponse optionMaxDepth() throws ClientApiException
ClientApiException
public ApiResponse optionMaxDuration() throws ClientApiException
ClientApiException
public ApiResponse optionMaxParseSizeBytes() throws ClientApiException
ClientApiException
public ApiResponse optionMaxScansInUI() throws ClientApiException
ClientApiException
public ApiResponse optionRequestWaitTime() throws ClientApiException
ClientApiException
@Deprecated public ApiResponse optionScope() throws ClientApiException
ClientApiException
@Deprecated public ApiResponse optionScopeText() throws ClientApiException
ClientApiException
public ApiResponse optionSkipURLString() throws ClientApiException
ClientApiException
public ApiResponse optionThreadCount() throws ClientApiException
ClientApiException
public ApiResponse optionUserAgent() throws ClientApiException
ClientApiException
public ApiResponse optionAcceptCookies() throws ClientApiException
ClientApiException
public ApiResponse optionHandleODataParametersVisited() throws ClientApiException
ClientApiException
public ApiResponse optionParseComments() throws ClientApiException
ClientApiException
public ApiResponse optionParseGit() throws ClientApiException
ClientApiException
public ApiResponse optionParseRobotsTxt() throws ClientApiException
ClientApiException
public ApiResponse optionParseSVNEntries() throws ClientApiException
ClientApiException
public ApiResponse optionParseSitemapXml() throws ClientApiException
ClientApiException
public ApiResponse optionPostForm() throws ClientApiException
ClientApiException
public ApiResponse optionProcessForm() throws ClientApiException
ClientApiException
public ApiResponse optionSendRefererHeader() throws ClientApiException
ClientApiException
public ApiResponse optionShowAdvancedDialog() throws ClientApiException
ClientApiException
public ApiResponse scan(java.lang.String url, java.lang.String maxchildren, java.lang.String recurse, java.lang.String contextname, java.lang.String subtreeonly) throws ClientApiException
ClientApiException
public 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
ClientApiException
public ApiResponse pause(java.lang.String scanid) throws ClientApiException
ClientApiException
public ApiResponse resume(java.lang.String scanid) throws ClientApiException
ClientApiException
public ApiResponse stop(java.lang.String scanid) throws ClientApiException
ClientApiException
public ApiResponse removeScan(java.lang.String scanid) throws ClientApiException
ClientApiException
public ApiResponse pauseAllScans() throws ClientApiException
ClientApiException
public ApiResponse resumeAllScans() throws ClientApiException
ClientApiException
public ApiResponse stopAllScans() throws ClientApiException
ClientApiException
public ApiResponse removeAllScans() throws ClientApiException
ClientApiException
public ApiResponse clearExcludedFromScan() throws ClientApiException
ClientApiException
public ApiResponse excludeFromScan(java.lang.String regex) throws ClientApiException
ClientApiException
public ApiResponse addDomainAlwaysInScope(java.lang.String value, java.lang.String isregex, java.lang.String isenabled) throws ClientApiException
ClientApiException
public ApiResponse modifyDomainAlwaysInScope(java.lang.String idx, java.lang.String value, java.lang.String isregex, java.lang.String isenabled) throws ClientApiException
ClientApiException
public ApiResponse removeDomainAlwaysInScope(java.lang.String idx) throws ClientApiException
ClientApiException
public ApiResponse enableAllDomainsAlwaysInScope() throws ClientApiException
ClientApiException
public ApiResponse disableAllDomainsAlwaysInScope() throws ClientApiException
ClientApiException
public ApiResponse setOptionHandleParameters(java.lang.String string) throws ClientApiException
ClientApiException
@Deprecated public ApiResponse setOptionScopeString(java.lang.String string) throws ClientApiException
ClientApiException
public ApiResponse setOptionSkipURLString(java.lang.String string) throws ClientApiException
ClientApiException
public ApiResponse setOptionUserAgent(java.lang.String string) throws ClientApiException
ClientApiException
public ApiResponse setOptionAcceptCookies(boolean bool) throws ClientApiException
ClientApiException
public ApiResponse setOptionHandleODataParametersVisited(boolean bool) throws ClientApiException
ClientApiException
public ApiResponse setOptionMaxChildren(int i) throws ClientApiException
ClientApiException
public ApiResponse setOptionMaxDepth(int i) throws ClientApiException
ClientApiException
public ApiResponse setOptionMaxDuration(int i) throws ClientApiException
ClientApiException
public ApiResponse setOptionMaxParseSizeBytes(int i) throws ClientApiException
ClientApiException
public ApiResponse setOptionMaxScansInUI(int i) throws ClientApiException
ClientApiException
public ApiResponse setOptionParseComments(boolean bool) throws ClientApiException
ClientApiException
public ApiResponse setOptionParseGit(boolean bool) throws ClientApiException
ClientApiException
public ApiResponse setOptionParseRobotsTxt(boolean bool) throws ClientApiException
ClientApiException
public ApiResponse setOptionParseSVNEntries(boolean bool) throws ClientApiException
ClientApiException
public ApiResponse setOptionParseSitemapXml(boolean bool) throws ClientApiException
ClientApiException
public ApiResponse setOptionPostForm(boolean bool) throws ClientApiException
ClientApiException
public ApiResponse setOptionProcessForm(boolean bool) throws ClientApiException
ClientApiException
public ApiResponse setOptionRequestWaitTime(int i) throws ClientApiException
ClientApiException
public ApiResponse setOptionSendRefererHeader(boolean bool) throws ClientApiException
ClientApiException
public ApiResponse setOptionShowAdvancedDialog(boolean bool) throws ClientApiException
ClientApiException
public ApiResponse setOptionThreadCount(int i) throws ClientApiException
ClientApiException