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)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerDescriptor
public ServerDescriptor()
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()