com.borland.jbuilder.runtime.servlet
Class ServerDescriptor

java.lang.Object
  |
  +--com.borland.jbuilder.runtime.servlet.ServerDescriptor

public class ServerDescriptor
extends java.lang.Object

Encapsulates configuration details for a particular run of any supported servlet engine (web server)


Constructor Summary
ServerDescriptor()
           
 
Method Summary
 java.util.Map getContextParameters()
           
 java.lang.String getContextPath()
           
 java.lang.String getDocBase()
           
 java.lang.String getHostName()
           
 int getPort()
           
 ServletDescriptor[] getServlets()
           
 TldDescriptor[] getTlds()
           
 boolean isDebug()
           
 boolean isEchoHttp()
           
 boolean isKeepGenerated()
           
 void setContextParameters(java.util.Map newContextParameters)
           
 void setContextPath(java.lang.String newContextPath)
           
 void setDebug(boolean newDebug)
           
 void setDocBase(java.lang.String newDocBase)
          Base directory that acts as the root directory for the web server (or default context).
 void setEchoHttp(boolean newEchoHttp)
           
 void setHostName(java.lang.String newHostName)
           
 void setKeepGenerated(boolean newKeepGenerated)
           
 void setPort(int newPort)
           
 void setServlets(ServletDescriptor[] newServlets)
           
 void setTlds(TldDescriptor[] newTlds)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerDescriptor

public ServerDescriptor()
Method Detail

setDocBase

public void setDocBase(java.lang.String newDocBase)
Base directory that acts as the root directory for the web server (or default context). Note that a trailing slash is removed -- when using the docBase to build a path, include the separator.

getDocBase

public java.lang.String getDocBase()

setPort

public void setPort(int newPort)

getPort

public int getPort()

setEchoHttp

public void setEchoHttp(boolean newEchoHttp)

isEchoHttp

public boolean isEchoHttp()

setKeepGenerated

public void setKeepGenerated(boolean newKeepGenerated)

isKeepGenerated

public boolean isKeepGenerated()

setHostName

public void setHostName(java.lang.String newHostName)

getHostName

public java.lang.String getHostName()

setDebug

public void setDebug(boolean newDebug)

isDebug

public boolean isDebug()

setContextParameters

public void setContextParameters(java.util.Map newContextParameters)

getContextParameters

public java.util.Map getContextParameters()

setServlets

public void setServlets(ServletDescriptor[] newServlets)

getServlets

public ServletDescriptor[] getServlets()

setTlds

public void setTlds(TldDescriptor[] newTlds)

getTlds

public TldDescriptor[] getTlds()

setContextPath

public void setContextPath(java.lang.String newContextPath)

getContextPath

public java.lang.String getContextPath()