org.hecl.http
Class HttpModule

java.lang.Object
  extended by org.hecl.http.HttpModule
All Implemented Interfaces:
HeclModule

public class HttpModule
extends java.lang.Object
implements HeclModule

The HttpModule implements HeclModule so that this code can be loaded dynamically.

Version:
1.0
Author:
David N. Welton

Constructor Summary
HttpModule()
           
 
Method Summary
 void loadModule(Interp interp)
          The loadModule method usually takes care of creating commands that are present in this module.
 void unloadModule(Interp interp)
          The unloadModule method takes care of any clean up that's necessary, such as unloading commands created by this module.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpModule

public HttpModule()
Method Detail

loadModule

public void loadModule(Interp interp)
                throws HeclException
Description copied from interface: HeclModule
The loadModule method usually takes care of creating commands that are present in this module.

Specified by:
loadModule in interface HeclModule
Parameters:
interp - an Interp value
Throws:
HeclException - if an error occurs

unloadModule

public void unloadModule(Interp interp)
                  throws HeclException
Description copied from interface: HeclModule
The unloadModule method takes care of any clean up that's necessary, such as unloading commands created by this module.

Specified by:
unloadModule in interface HeclModule
Parameters:
interp - an Interp value
Throws:
HeclException - if an error occurs