|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.owasp.webscarab.plugin.spider.Spider
public class Spider
| Constructor Summary | |
|---|---|
Spider(Framework framework)
Creates a new instance of Spider |
|
| Method Summary | |
|---|---|
void |
analyse(ConversationID id,
Request request,
Response response,
java.lang.String origin)
|
void |
clearQueue()
|
void |
flush()
called to instruct the plugin to flush any memory-only state to the store. |
NamedValue[] |
getExtraHeaders()
|
SpiderModel |
getModel()
|
java.lang.String |
getPluginName()
The plugin name |
java.lang.Object |
getScriptableObject()
|
Hook[] |
getScriptingHooks()
|
java.lang.String |
getStatus()
called to determine what the current status of the plugin is |
boolean |
isBusy()
called to test whether the plugin is able to be stopped |
boolean |
isModified()
called to determine whether the data stored within the plugin has been modified and should be saved |
boolean |
isRunning()
|
void |
requestError(Request request,
java.io.IOException ioe)
|
void |
requestLinks(HttpUrl[] urls)
|
void |
requestLinksUnder(HttpUrl url)
|
void |
responseReceived(Response response)
|
void |
run()
starts the plugin running |
void |
setExtraHeaders(NamedValue[] headers)
|
void |
setSession(java.lang.String type,
java.lang.Object store,
java.lang.String session)
informs the plugin that the Session has changed |
void |
setUI(SpiderUI ui)
|
boolean |
stop()
called to suspend or stop the plugin |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Spider(Framework framework)
| Method Detail |
|---|
public SpiderModel getModel()
public void setUI(SpiderUI ui)
public java.lang.String getPluginName()
Plugin
getPluginName in interface Pluginpublic void run()
Plugin
run in interface java.lang.Runnablerun in interface Pluginpublic void responseReceived(Response response)
responseReceived in interface ConversationHandler
public void requestError(Request request,
java.io.IOException ioe)
requestError in interface ConversationHandlerpublic boolean isBusy()
Plugin
isBusy in interface Pluginpublic void requestLinksUnder(HttpUrl url)
public void requestLinks(HttpUrl[] urls)
public void clearQueue()
public void setExtraHeaders(NamedValue[] headers)
public NamedValue[] getExtraHeaders()
public void flush()
throws StoreException
Plugin
flush in interface PluginStoreException - if there is any problem saving the session datapublic boolean stop()
Plugin
stop in interface Pluginpublic java.lang.String getStatus()
Plugin
getStatus in interface Plugin
public void analyse(ConversationID id,
Request request,
Response response,
java.lang.String origin)
analyse in interface Pluginpublic boolean isModified()
Plugin
isModified in interface Pluginpublic boolean isRunning()
isRunning in interface Plugin
public void setSession(java.lang.String type,
java.lang.Object store,
java.lang.String session)
throws StoreException
Plugin
setSession in interface PluginStoreExceptionpublic java.lang.Object getScriptableObject()
getScriptableObject in interface Pluginpublic Hook[] getScriptingHooks()
getScriptingHooks in interface Plugin
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||