com.togethersoft.testing.testserver
Interface ICommandController


public interface ICommandController

Interface to server commands.
User may define his own commands using configuration file ( server.config ).


Method Summary
 voidexecute(ISession session, HttpServletResponse response)
           
 voidregisterCommand(String commandName, ITestServerCommand command)
           
 booleanunregisterCommand(String commandName)
           

Method Detail

execute

public void execute(ISession session, HttpServletResponse response)
throws TestServerException

registerCommand

public void registerCommand(String commandName, ITestServerCommand command)

unregisterCommand

public boolean unregisterCommand(String commandName)