wt.tools.javarmi
Class CGITryHostnameCommandTS

java.lang.Object
  extended bywt.tools.javarmi.CGITryHostnameCommandTS
All Implemented Interfaces:
CGICommandHandlerTS

public class CGITryHostnameCommandTS
extends Object
implements CGICommandHandlerTS

A thread-safe version of the sun.rmi.transport.proxy.CGITryHostnamdCommand class

See Also:
sun.rmi.transport.proxy

Field Summary
private  CGIHandlerTS cgi
           
 
Constructor Summary
CGITryHostnameCommandTS(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
 

Field Detail

cgi

private CGIHandlerTS cgi
Constructor Detail

CGITryHostnameCommandTS

public CGITryHostnameCommandTS(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
Method Detail

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