|
Apache Tomcat 6.0.53 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jasper.EmbeddedServletOptions
public final class EmbeddedServletOptions
A class to hold all init parameters specific to the JSP engine.
Field Summary | |
---|---|
boolean |
fork
Should Ant fork its java compiles of JSP pages. |
Constructor Summary | |
---|---|
EmbeddedServletOptions(javax.servlet.ServletConfig config,
javax.servlet.ServletContext context)
Create an EmbeddedServletOptions object using data available from ServletConfig and ServletContext. |
Method Summary | |
---|---|
boolean |
genStringAsCharArray()
Are Text strings to be generated as char arrays? |
java.util.Map |
getCache()
The web-application wide cache for the TagLibraryInfo tag library descriptors, used if Options.isCaching() returns true . |
int |
getCheckInterval()
Background JSP compile thread check intervall |
boolean |
getClassDebugInfo()
Should class files be compiled with debug information? |
java.lang.String |
getClassPath()
What classpath should I use while compiling the servlets generated from JSP files? |
java.lang.String |
getCompiler()
Compiler to use. |
java.lang.String |
getCompilerClassName()
Java compiler class to use. |
java.lang.String |
getCompilerSourceVM()
The compiler source VM, e.g. 1.3, 1.4, 1.5 or 1.6. |
java.lang.String |
getCompilerTargetVM()
The compiler target VM, e.g. 1.1, 1.2, 1.3, 1.4, 1.5 or 1.6. |
boolean |
getDevelopment()
Is Jasper being used in development mode? |
boolean |
getDisplaySourceFragment()
Should we include a source fragment in exception messages, which could be displayed to the developer ? |
boolean |
getErrorOnUseBeanInvalidClassAttribute()
Returns true if Jasper issues a compilation error instead of a runtime Instantiation error if the class attribute specified in useBean action is invalid. |
boolean |
getFork()
The boolean flag to tell Ant whether to fork JSP page compilations. |
java.lang.String |
getIeClassId()
Class ID for use in the plugin tag when the browser is IE. |
java.lang.String |
getJavaEncoding()
Java platform encoding to generate the JSP page servlet. |
JspConfig |
getJspConfig()
Obtain JSP configuration informantion specified in web.xml. |
boolean |
getKeepGenerated()
Are we keeping generated code around? |
boolean |
getMappedFile()
Are we supporting HTML mapped servlets? |
int |
getModificationTestInterval()
Modification test interval. |
java.lang.String |
getProperty(java.lang.String name)
|
boolean |
getRecompileOnFail()
Re-compile on failure. |
java.io.File |
getScratchDir()
What is my scratch dir? |
boolean |
getSendErrorToClient()
Deprecated. |
TagPluginManager |
getTagPluginManager()
Obtain a Tag Plugin Manager |
TldLocationsCache |
getTldLocationsCache()
The cache for the location of the TLD's for the various tag libraries 'exposed' by the web application. |
boolean |
getTrimSpaces()
Should white spaces between directives or actions be trimmed? |
boolean |
isCaching()
Is caching enabled (used for precompilation). |
boolean |
isPoolingEnabled()
Returns true if tag handler pooling is enabled, false otherwise. |
boolean |
isSmapDumped()
Should SMAP info for JSR45 debugging be dumped to a file? |
boolean |
isSmapSuppressed()
Is the generation of SMAP info for JSR45 debuggin suppressed? |
boolean |
isXpoweredBy()
Is generation of X-Powered-By response header enabled/disabled? |
void |
setErrorOnUseBeanInvalidClassAttribute(boolean b)
|
void |
setProperty(java.lang.String name,
java.lang.String value)
|
void |
setTldLocationsCache(TldLocationsCache tldC)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public boolean fork
Constructor Detail |
---|
public EmbeddedServletOptions(javax.servlet.ServletConfig config, javax.servlet.ServletContext context)
Method Detail |
---|
public java.lang.String getProperty(java.lang.String name)
public void setProperty(java.lang.String name, java.lang.String value)
public boolean getKeepGenerated()
getKeepGenerated
in interface Options
public boolean getTrimSpaces()
getTrimSpaces
in interface Options
public boolean isPoolingEnabled()
Options
isPoolingEnabled
in interface Options
public boolean getMappedFile()
getMappedFile
in interface Options
@Deprecated public boolean getSendErrorToClient()
getSendErrorToClient
in interface Options
public boolean getClassDebugInfo()
getClassDebugInfo
in interface Options
public int getCheckInterval()
getCheckInterval
in interface Options
public int getModificationTestInterval()
getModificationTestInterval
in interface Options
public boolean getRecompileOnFail()
getRecompileOnFail
in interface Options
public boolean getDevelopment()
getDevelopment
in interface Options
public boolean isSmapSuppressed()
isSmapSuppressed
in interface Options
public boolean isSmapDumped()
isSmapDumped
in interface Options
public boolean genStringAsCharArray()
genStringAsCharArray
in interface Options
true
if text strings are to be generated as char
arrays, false
otherwisepublic java.lang.String getIeClassId()
getIeClassId
in interface Options
public java.io.File getScratchDir()
getScratchDir
in interface Options
public java.lang.String getClassPath()
getClassPath
in interface Options
public boolean isXpoweredBy()
isXpoweredBy
in interface Options
public java.lang.String getCompiler()
getCompiler
in interface Options
public java.lang.String getCompilerTargetVM()
Options
getCompilerTargetVM
in interface Options
Options.getCompilerTargetVM()
public java.lang.String getCompilerSourceVM()
Options
getCompilerSourceVM
in interface Options
Options.getCompilerSourceVM()
public java.lang.String getCompilerClassName()
getCompilerClassName
in interface Options
public boolean getErrorOnUseBeanInvalidClassAttribute()
Options
getErrorOnUseBeanInvalidClassAttribute
in interface Options
public void setErrorOnUseBeanInvalidClassAttribute(boolean b)
public TldLocationsCache getTldLocationsCache()
Options
getTldLocationsCache
in interface Options
public void setTldLocationsCache(TldLocationsCache tldC)
public java.lang.String getJavaEncoding()
Options
getJavaEncoding
in interface Options
public boolean getFork()
Options
Is used only when Jasper uses an external java compiler (wrapped through
a javac
Apache Ant task).
getFork
in interface Options
public JspConfig getJspConfig()
Options
getJspConfig
in interface Options
public TagPluginManager getTagPluginManager()
Options
getTagPluginManager
in interface Options
public boolean isCaching()
Options
isCaching
in interface Options
public java.util.Map getCache()
Options
Options.isCaching()
returns true
.
Using this cache avoids the cost of repeating the parsing of a tag library descriptor XML file (performed by TagLibraryInfoImpl.parseTLD).
getCache
in interface Options
public boolean getDisplaySourceFragment()
getDisplaySourceFragment
in interface Options
|
Apache Tomcat 6.0.53 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |