Class ServletDispatcher

java.lang.Object
com.sun.ts.tests.common.vehicle.none.proxy.ServletDispatcher
All Implemented Interfaces:
Function<Object[],RemoteStatus>

public class ServletDispatcher extends Object implements Function<Object[],RemoteStatus>
A function that dispatches method calls to a remote server using the HttpClient. This requires that a subclass of ServletNoVehicle has been deployed to a server under the /appclientproxy/appclient_novehicle path. The test method name is appended to the URL as the 'test' query parameter.
  • Constructor Details

    • ServletDispatcher

      public ServletDispatcher(String webServerHost, String webServerPort)
      Creates a new instance of the dispatcher with the given host and port.
      Parameters:
      webServerHost - - the host name of the server
      webServerPort - - the port number of the server
  • Method Details