autohit.call.modules
Class SimpleHttpModule
java.lang.Object
autohit.call.modules.Module
autohit.call.modules.SimpleHttpModule
- public class SimpleHttpModule
- extends Module
Simple http module. There is a client/per session at this time. The property
"wire" sets if the very noisy HttpClient wire logging is turned on or not.
the most recent instantiation of this module will set the HttpClient property
for all instances.
- Version:
- 1.0 Version History
EPG - Initial - 22Jun03
EPG - Set wire property - 2Sep03
- Author:
- Erich P. Gatejen
Method Summary |
java.lang.Object |
execute_chain(java.lang.String name)
Execute a named method. |
protected void |
free_chain()
Allow the subclass a chance to cleanup on free. |
protected java.lang.String |
instantiation_chain()
Allow the subclass a chance to initialize. |
Methods inherited from class autohit.call.modules.Module |
buildException, buildException, debug, desired, desiredType, error, errorparam, execute, fault, fault, free, getParam, getPersist, instance, isDebugging, log, optional, optionalType, required, requiredType, warning |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleHttpModule
public SimpleHttpModule()
- Constructor
execute_chain
public java.lang.Object execute_chain(java.lang.String name)
throws CallException
- Execute a named method. You must implement this method. You can call any
of the helpers for data and services. The returned object better be a
string (for now).
- Specified by:
execute_chain
in class Module
- Parameters:
name
- name of the method
- Throws:
CallException
- See Also:
NOPair
instantiation_chain
protected java.lang.String instantiation_chain()
throws CallException
- Allow the subclass a chance to initialize. At a minium, an implementor
should create an empty method.
- Specified by:
instantiation_chain
in class Module
- Returns:
- the name
- Throws:
CallException
free_chain
protected void free_chain()
throws CallException
- Allow the subclass a chance to cleanup on free. At a minium, an
implementor should create an empty method.
- Specified by:
free_chain
in class Module
- Throws:
CallException
Test.