org.owasp.webscarab.plugin.proxy
Class BeanShell

java.lang.Object
  extended by org.owasp.webscarab.plugin.proxy.ProxyPlugin
      extended by org.owasp.webscarab.plugin.proxy.BeanShell

public class BeanShell
extends ProxyPlugin

Author:
rdawes

Constructor Summary
BeanShell(Framework framework)
          Creates a new instance of ManualEdit
 
Method Summary
 boolean getEnabled()
           
 java.lang.String getPluginName()
          The plugin name
 HTTPClient getProxyPlugin(HTTPClient in)
           
 java.lang.String getScript()
           
 java.lang.String getScriptFile()
           
 void setEnabled(boolean bool)
           
 void setScript(java.lang.String script)
           
 void setScriptFile(java.lang.String filename)
           
 void setUI(BeanShellUI ui)
           
 
Methods inherited from class org.owasp.webscarab.plugin.proxy.ProxyPlugin
flush, setSession
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanShell

public BeanShell(Framework framework)
Creates a new instance of ManualEdit

Method Detail

setUI

public void setUI(BeanShellUI ui)

getPluginName

public java.lang.String getPluginName()
Description copied from class: ProxyPlugin
The plugin name

Specified by:
getPluginName in class ProxyPlugin
Returns:
The name of the plugin

setEnabled

public void setEnabled(boolean bool)

getEnabled

public boolean getEnabled()

setScriptFile

public void setScriptFile(java.lang.String filename)
                   throws bsh.EvalError
Throws:
bsh.EvalError

getScriptFile

public java.lang.String getScriptFile()

setScript

public void setScript(java.lang.String script)
               throws bsh.EvalError
Throws:
bsh.EvalError

getScript

public java.lang.String getScript()

getProxyPlugin

public HTTPClient getProxyPlugin(HTTPClient in)
Specified by:
getProxyPlugin in class ProxyPlugin