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 |
genStringAsByteArray()
Are text strings to be generated as byte arrays, if the page is
unbuffered?
|
boolean |
genStringAsCharArray()
Are Text strings to be generated as char arrays?
|
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()
The name of class that implements JavaCompiler, used for Java compilations.
|
java.lang.String |
getCompilerSourceVM()
Compiler source VM, e.g.
|
java.lang.String |
getCompilerTargetVM()
The compiler target VM, e.g.
|
boolean |
getDevelopment()
Is Jasper being used in development mode?
|
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()
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.
|
int |
getInitialCapacity()
Gets initial capacity of HashMap which maps JSPs to their corresponding
servlets.
|
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 |
getSaveBytecode()
If class files are generated as byte arrays, should they be saved to
disk at the end of compilations?
|
java.io.File |
getScratchDir()
What is my scratch dir?
|
boolean |
getSendErrorToClient()
Should errors be sent to client or thrown into stderr?
|
java.lang.String |
getSystemClassPath()
Gets the system class path.
|
TagPluginManager |
getTagPluginManager()
Obtain a Tag Plugin Manager
|
TldScanner |
getTldScanner()
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 |
getUsePrecompiled()
Returns the value of the usePrecompiled (or use-precompiled) init
param.
|
boolean |
isDefaultBufferNone()
If the buffer attribute for the page directive is not specified,
is the default "none"?
|
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 |
isValidationEnabled() |
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) |
public EmbeddedServletOptions(ServletConfig config, ServletContext context)
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 getSaveBytecode()
Options
getSaveBytecode
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
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 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
public boolean genStringAsByteArray()
Options
genStringAsByteArray
in interface Options
public boolean isDefaultBufferNone()
Options
isDefaultBufferNone
in interface Options
public 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 java.lang.String getSystemClassPath()
getSystemClassPath
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()
Options
getCompilerClassName
in interface Options
Options#getCompilerName
public boolean getErrorOnUseBeanInvalidClassAttribute()
Options
getErrorOnUseBeanInvalidClassAttribute
in interface Options
public void setErrorOnUseBeanInvalidClassAttribute(boolean b)
public TldScanner getTldScanner()
Options
getTldScanner
in interface Options
public java.lang.String getJavaEncoding()
Options
getJavaEncoding
in interface Options
public boolean getFork()
Options
public JspConfig getJspConfig()
Options
getJspConfig
in interface Options
public TagPluginManager getTagPluginManager()
Options
getTagPluginManager
in interface Options
public int getInitialCapacity()
getInitialCapacity
in interface Options
public boolean getUsePrecompiled()
getUsePrecompiled
in interface Options
public boolean isValidationEnabled()
isValidationEnabled
in interface Options