FileDocCategorySizeDatePackage
VirtualServerInfo.javaAPI DocGlassfish v2 API3353Fri May 04 22:31:58 BST 2007com.sun.enterprise.deployment.util

VirtualServerInfo

public class VirtualServerInfo extends Object
This class holds information about a web server virtual engine configuration
author
Jerome Dochez

Fields Summary
private String
host
Holds value of property host.
private int
port
Holds value of property port.
private String
protocol
Holds 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.StringgetHost()
Getter for property serverName.

return
Value of property serverName.

        return this.host;
    
public intgetPort()
Getter for property port.

return
value of property port.

       return this.port;
    
public java.lang.StringgetProtocol()
Getter for property protocol.

return
Value of property protocol.

        return this.protocol;
    
public java.net.URLgetWebServerRootURL()

return
the web server root URL

        return new URL(protocol, host, port, "");