|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.main.CmsServletContainerSettings
Stores specific servlet container options, that might influence OpenCms behavior.
Nested Class Summary | |
static class |
CmsServletContainerSettings.CmsServletContainerCfgMode
Enumeration class for the configuration mode. |
Field Summary | |
static CmsServletContainerSettings.CmsServletContainerCfgMode |
CFG_MODE_AUTO
String remote command execution return type. |
static CmsServletContainerSettings.CmsServletContainerCfgMode |
CFG_MODE_MANUAL
Map remote command execution return type. |
static CmsServletContainerSettings.CmsServletContainerCfgMode |
CFG_MODE_NONE
List remote command execution return type. |
Constructor Summary | |
CmsServletContainerSettings(java.lang.String servletContainerName)
Creates a new object. |
Method Summary | |
CmsServletContainerSettings.CmsServletContainerCfgMode |
getMode()
Returns the mode. |
java.lang.String |
getRequestErrorPageAttribute()
Returns the request error page attribute. |
java.lang.String |
getServletContainerName()
Returns the name of the servlet container running OpenCms. |
boolean |
isPreventResponseFlush()
Checks if the flex response has to prevent buffer flushing. |
boolean |
isReleaseTagsAfterEnd()
Checks if the tags need to be released after ending. |
boolean |
isServletThrowsException()
Checks if the servlet can throw an exception if initialization fails. |
void |
setMode(java.lang.String configValue)
Sets the mode from the configuration. |
void |
setPreventResponseFlush(boolean preventResponseFlush)
Sets if the flex response has to prevent buffer flushing. |
void |
setReleaseTagsAfterEnd(boolean releaseTagsAfterEnd)
Sets if the tags need to be released after ending. |
void |
setRequestErrorPageAttribute(java.lang.String requestErrorPageAttribute)
Sets the request error page attribute. |
void |
setServletThrowsException(boolean servletThrowsException)
Sets if the servlet can throw an exception if initialization fails. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final CmsServletContainerSettings.CmsServletContainerCfgMode CFG_MODE_AUTO
public static final CmsServletContainerSettings.CmsServletContainerCfgMode CFG_MODE_MANUAL
public static final CmsServletContainerSettings.CmsServletContainerCfgMode CFG_MODE_NONE
Constructor Detail |
public CmsServletContainerSettings(java.lang.String servletContainerName)
servletContainerName
- the name of the current running servlet containerMethod Detail |
public CmsServletContainerSettings.CmsServletContainerCfgMode getMode()
public java.lang.String getRequestErrorPageAttribute()
public java.lang.String getServletContainerName()
public boolean isPreventResponseFlush()
true
if the flex response has to prevent buffer flushingpublic boolean isReleaseTagsAfterEnd()
true
if the tags need to be released after endingpublic boolean isServletThrowsException()
true
if the servlet can throw an exception if initialization failspublic void setMode(java.lang.String configValue)
configValue
- the mode to setpublic void setPreventResponseFlush(boolean preventResponseFlush)
preventResponseFlush
- the flag to setpublic void setReleaseTagsAfterEnd(boolean releaseTagsAfterEnd)
releaseTagsAfterEnd
- the flag to setpublic void setRequestErrorPageAttribute(java.lang.String requestErrorPageAttribute)
requestErrorPageAttribute
- the request error page attribute to setpublic void setServletThrowsException(boolean servletThrowsException)
servletThrowsException
- the flag to set
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |