|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.owasp.webscarab.plugin.fragments.Fragments
public class Fragments
This plugin looks for comments and scripts in the source of HTML pages.
Constructor Summary | |
---|---|
Fragments(Framework framework)
Creates a new instance of Fragments |
Method Summary | |
---|---|
void |
analyse(ConversationID id,
Request request,
Response response,
java.lang.String origin)
|
void |
flush()
called to instruct the plugin to flush any memory-only state to the store. |
FragmentsModel |
getModel()
|
java.lang.String |
getPluginName()
returns the name of the plugin |
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 |
run()
calls the main loop of the plugin |
void |
setSession(java.lang.String type,
java.lang.Object store,
java.lang.String session)
Sets the store that this plugin uses |
boolean |
stop()
stops the plugin running |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Fragments(Framework framework)
props
- contains the user's configuration propertiesMethod Detail |
---|
public FragmentsModel getModel()
public void setSession(java.lang.String type, java.lang.Object store, java.lang.String session) throws StoreException
setSession
in interface Plugin
session
- the new session
StoreException
public java.lang.String getPluginName()
getPluginName
in interface Plugin
public void run()
run
in interface java.lang.Runnable
run
in interface Plugin
public boolean stop()
stop
in interface Plugin
public void analyse(ConversationID id, Request request, Response response, java.lang.String origin)
analyse
in interface Plugin
public void flush() throws StoreException
Plugin
flush
in interface Plugin
StoreException
- if there is any problem saving the session datapublic boolean isBusy()
Plugin
isBusy
in interface Plugin
public java.lang.String getStatus()
Plugin
getStatus
in interface Plugin
public boolean isModified()
Plugin
isModified
in interface Plugin
public boolean isRunning()
isRunning
in interface Plugin
public java.lang.Object getScriptableObject()
getScriptableObject
in interface Plugin
public Hook[] getScriptingHooks()
getScriptingHooks
in interface Plugin
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |