VirtualServerInfopublic class VirtualServerInfo extends Object This class holds information about a web server virtual
engine configuration |
Fields Summary |
---|
private String | hostHolds value of property host. | private int | portHolds value of property port. | private String | protocolHolds value of property protocol. |
Constructors Summary |
---|
public VirtualServerInfo(String protocol, String host, int port)Creates a new instance of VirtualServerInfo
this.protocol = protocol;
this.host = host;
this.port = port;
|
Methods Summary |
---|
public java.lang.String | getHost()Getter for property serverName.
return this.host;
| public int | getPort()Getter for property port.
return this.port;
| public java.lang.String | getProtocol()Getter for property protocol.
return this.protocol;
| public java.net.URL | getWebServerRootURL()
return new URL(protocol, host, port, "");
|
|