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

WebServerInfo

public class WebServerInfo extends Object
This class holds information about a particular web server installation, its running engines and so on...
author
Jerome Dochez

Fields Summary
private VirtualServerInfo
httpVS
Holds value of property httpVS.
private VirtualServerInfo
httpsVS
Holds value of property httpsVS.
Constructors Summary
public WebServerInfo()
Creates a new instance of WebServerInfo

    
Methods Summary
public VirtualServerInfogetHttpVS()
Getter for property httpVS.

return
Value of property httpVS.

        return this.httpVS;
    
public VirtualServerInfogetHttpsVS()
Getter for property httpsVS.

return
Value of property httpsVS.

        return this.httpsVS;
    
public java.net.URLgetWebServerRootURL(boolean secure)

        if (secure) {
            if (httpsVS!=null)
                return httpsVS.getWebServerRootURL();
            
        } else {
            if (httpVS!=null) 
                return httpVS.getWebServerRootURL();
        }
        return null;
    
public voidsetHttpVS(VirtualServerInfo httpVS)
Setter for property httpVS.

param
httpVS New value of property httpVS.

        this.httpVS = httpVS;
    
public voidsetHttpsVS(VirtualServerInfo httpsVS)
Setter for property httpsVS.

param
httpsVS New value of property httpsVS.

        this.httpsVS = httpsVS;