wt.tools.javarmi
Class CGIGethostnameCommandTS
java.lang.Object
wt.tools.javarmi.CGIGethostnameCommandTS
- All Implemented Interfaces:
- CGICommandHandlerTS
- public class CGIGethostnameCommandTS
- extends Object
- implements CGICommandHandlerTS
A thread-safe version of the sun.rmi.transport.proxy.CGIGethostnameCommand class
- See Also:
sun.rmi.transport.proxy
Constructor Summary |
CGIGethostnameCommandTS(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 |
cgi
private CGIHandlerTS cgi
CGIGethostnameCommandTS
public CGIGethostnameCommandTS(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)
- 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