wt.tools.javarmi
Class CGIForwardCommandTS
java.lang.Object
wt.tools.javarmi.CGIForwardCommandTS
- All Implemented Interfaces:
- CGICommandHandlerTS
- public class CGIForwardCommandTS
- extends Object
- implements CGICommandHandlerTS
A thread-safe version of the sun.rmi.transport.proxy.CGIForwardCommand class
- See Also:
sun.rmi.transport.proxy
Constructor Summary |
CGIForwardCommandTS(CGIHandlerTS cgi)
The constructor takes an instance of CGIHandlerTS as a parameter to access invocation-specific
properties and streams. |
Method Summary |
void |
execute(String s)
Execute performs the action appropriate to this command handler and writes the response to
the current output stream. |
String |
getName()
getName returns the name of this command handler |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BUFSIZ
private static final int BUFSIZ
- See Also:
- Constant Field Values
DEBUG
private static final boolean DEBUG
cgi
private CGIHandlerTS cgi
CGIForwardCommandTS
public CGIForwardCommandTS(CGIHandlerTS cgi)
- The constructor takes an instance of CGIHandlerTS as a parameter to access invocation-specific
properties and streams.
- Parameters:
cgi
- The current CGIHandlerTS instance
getName
public String getName()
- getName returns the name of this command handler
- Specified by:
getName
in interface CGICommandHandlerTS
- Returns:
- The name of this command handler
execute
public void execute(String s)
throws CGIClientExceptionTS,
CGIServerExceptionTS
- Execute performs the action appropriate to this command handler and writes the response to
the current output stream.
- Specified by:
execute
in interface CGICommandHandlerTS
- Parameters:
s
- The port specified in the HTTP request
- Throws:
CGIClientExceptionTS
- If there is a client (request) error
CGIServerExceptionTS
- If there is a server (response) error