public class TSURL extends java.lang.Object implements TSURLInterface, java.io.Serializable
| Constructor and Description |
|---|
TSURL() |
TSURL(java.lang.String sClassName) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getRequest(java.lang.String request)
This method is called by TS tests to get the request string to use
to access a given web component.
|
java.net.URL |
getURL(java.lang.String protocol,
java.lang.String host,
int port,
java.lang.String file)
This method is called by TS tests to get the URL to use to access a
given web component.
|
java.lang.String |
getURLString(java.lang.String protocol,
java.lang.String host,
int port,
java.lang.String file)
This method is called by TS tests to get the URL to use to access a
given web component.
|
public java.net.URL getURL(java.lang.String protocol,
java.lang.String host,
int port,
java.lang.String file)
throws java.net.MalformedURLException
getURL in interface TSURLInterfaceprotocol - - the name of the protocol.host - - the name of the host.port - - the port number.file - - the host file.java.net.MalformedURLExceptionpublic java.lang.String getURLString(java.lang.String protocol,
java.lang.String host,
int port,
java.lang.String file)
getURLString in interface TSURLInterfaceprotocol - - the name of the protocol.host - - the name of the host.port - - the port number.file - - the host file.public java.lang.String getRequest(java.lang.String request)
getRequest in interface TSURLInterfacerequest - - the request file.