Class ServletDispatcher
java.lang.Object
com.sun.ts.tests.common.vehicle.none.proxy.ServletDispatcher
- All Implemented Interfaces:
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 Summary
ConstructorsConstructorDescriptionServletDispatcher
(String webServerHost, String webServerPort) Creates a new instance of the dispatcher with the given host and port. -
Method Summary
-
Constructor Details
-
ServletDispatcher
Creates a new instance of the dispatcher with the given host and port.- Parameters:
webServerHost
- - the host name of the serverwebServerPort
- - the port number of the server
-
-
Method Details
-
apply
- Specified by:
apply
in interfaceFunction<Object[],
RemoteStatus>
-