| Modifier and Type | Field and Description |
|---|---|
boolean |
fork
Should Ant fork its java compiles of JSP pages.
|
| Constructor and Description |
|---|
EmbeddedServletOptions(ServletConfig config,
ServletContext context)
Create an EmbeddedServletOptions object using data available from
ServletConfig and ServletContext.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
genStringAsCharArray()
Are Text strings to be generated as char arrays?
|
Map<String,TagLibraryInfo> |
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 interval
|
boolean |
getClassDebugInfo()
Should class files be compiled with debug information?
|
String |
getClassPath()
What classpath should I use while compiling the servlets
generated from JSP files?
|
String |
getCompiler()
Compiler to use.
|
String |
getCompilerClassName()
Java compiler class to use.
|
String |
getCompilerSourceVM() |
String |
getCompilerTargetVM() |
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.
|
String |
getIeClassId()
Class ID for use in the plugin tag when the browser is IE.
|
String |
getJavaEncoding() |
JspConfig |
getJspConfig() |
int |
getJspIdleTimeout()
Should any jsps be unloaded when being idle for this time in seconds?
|
boolean |
getKeepGenerated()
Are we keeping generated code around?
|
boolean |
getMappedFile()
Are we supporting HTML mapped servlets?
|
int |
getMaxLoadedJsps()
Should jsps be unloaded if to many are loaded?
|
int |
getModificationTestInterval()
Modification test interval.
|
String |
getProperty(String name) |
boolean |
getQuoteAttributeEL() |
boolean |
getRecompileOnFail()
Re-compile on failure.
|
File |
getScratchDir()
What is my scratch dir?
|
boolean |
getStrictQuoteEscaping() |
TagPluginManager |
getTagPluginManager() |
TldCache |
getTldCache()
The cache that maps URIs, resource paths and parsed TLD files for the
various tag libraries 'exposed' by the web application.
|
TrimSpacesOption |
getTrimSpaces() |
boolean |
isCaching() |
boolean |
isPoolingEnabled() |
boolean |
isSmapDumped()
Should SMAP info for JSR45 debugging be dumped to a file?
|
boolean |
isSmapSuppressed()
Is the generation of SMAP info for JSR45 debugging suppressed?
|
boolean |
isXpoweredBy()
Is generation of X-Powered-By response header enabled/disabled?
|
void |
setErrorOnUseBeanInvalidClassAttribute(boolean b) |
void |
setProperty(String name,
String value) |
void |
setQuoteAttributeEL(boolean b) |
void |
setTldCache(TldCache tldCache) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetGeneratedJavaAddTimestamppublic EmbeddedServletOptions(ServletConfig config, ServletContext context)
config - The Servlet configcontext - The Servlet contextpublic void setQuoteAttributeEL(boolean b)
public boolean getQuoteAttributeEL()
getQuoteAttributeEL in interface Optionstrue if EL expressions used within attributes should have
the quoting rules in JSP.1.6 applied to the expression.public boolean getKeepGenerated()
getKeepGenerated in interface Optionstrue to keep the generated sourcepublic TrimSpacesOption getTrimSpaces()
getTrimSpaces in interface OptionsTrimSpacesOption.TRUE to remove template text that
consists only of whitespace from the output completely,
TrimSpacesOption.SINGLE to replace such template text
with a single space or TrimSpacesOption.FALSE to leave
such template text unchangedpublic boolean isPoolingEnabled()
isPoolingEnabled in interface Optionstrue if tag handler pooling is enabled,
false otherwise.public boolean getMappedFile()
getMappedFile in interface Optionstrue if HTML mapped Servlets are supported.public boolean getClassDebugInfo()
getClassDebugInfo in interface Optionstrue if debug information in included
in compiled classes.public int getCheckInterval()
getCheckInterval in interface Optionspublic int getModificationTestInterval()
getModificationTestInterval in interface Optionspublic boolean getRecompileOnFail()
getRecompileOnFail in interface Optionstrue if re-compile will occur on a failure.public boolean getDevelopment()
getDevelopment in interface Optionstrue if Jasper is in development modepublic boolean isSmapSuppressed()
isSmapSuppressed in interface Optionstrue to suppress generation of SMAP info for
JSR45 debugging.public boolean isSmapDumped()
isSmapDumped in interface Optionstrue to write SMAP info for JSR45 debugging to a
file.public boolean genStringAsCharArray()
genStringAsCharArray in interface Optionstrue if text strings are to be generated as char
arrays, false otherwisepublic String getIeClassId()
getIeClassId in interface Optionspublic File getScratchDir()
getScratchDir in interface Optionspublic String getClassPath()
getClassPath in interface Optionspublic boolean isXpoweredBy()
isXpoweredBy in interface Optionstrue to generate a X-Powered-By response header.public String getCompiler()
getCompiler in interface Optionspublic String getCompilerTargetVM()
getCompilerTargetVM in interface OptionsOptions.getCompilerTargetVM()public String getCompilerSourceVM()
getCompilerSourceVM in interface OptionsOptions.getCompilerSourceVM()public String getCompilerClassName()
getCompilerClassName in interface Optionspublic boolean getErrorOnUseBeanInvalidClassAttribute()
OptionsgetErrorOnUseBeanInvalidClassAttribute in interface Optionstrue to get an errorpublic void setErrorOnUseBeanInvalidClassAttribute(boolean b)
public TldCache getTldCache()
OptionsgetTldCache in interface Optionspublic void setTldCache(TldCache tldCache)
public String getJavaEncoding()
getJavaEncoding in interface Optionspublic boolean getFork()
Options
Is used only when Jasper uses an external java compiler (wrapped through
a javac Apache Ant task).
public JspConfig getJspConfig()
getJspConfig in interface Optionspublic TagPluginManager getTagPluginManager()
getTagPluginManager in interface Optionspublic boolean isCaching()
public Map<String,TagLibraryInfo> getCache()
OptionsOptions.isCaching() returns true.
Using this cache avoids the cost of repeating the parsing of a tag library descriptor XML file (performed by TagLibraryInfoImpl.parseTLD).
public boolean getDisplaySourceFragment()
getDisplaySourceFragment in interface Optionstrue to include a source fragment in exception
messages.public int getMaxLoadedJsps()
getMaxLoadedJsps in interface Optionspublic int getJspIdleTimeout()
getJspIdleTimeout in interface Optionspublic boolean getStrictQuoteEscaping()
getStrictQuoteEscaping in interface Optionstrue if the quote escaping required by section JSP.1.6 of
the JSP specification should be applied to scriplet expression.Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.