Package org.apache.jasper
Interface Options
-
- All Known Implementing Classes:
EmbeddedServletOptions,JspC
public interface OptionsA class to hold all init parameters specific to the JSP engine.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangenStringAsByteArray()Are text strings to be generated as byte arrays, if the page is unbuffered?booleangenStringAsCharArray()Are Text strings to be generated as char arrays?intgetCheckInterval()Background compile thread check interval in secondsbooleangetClassDebugInfo()Should we include debug information in compiled class?java.lang.StringgetClassPath()What classpath should I use while compiling the servlets generated from JSP files?java.lang.StringgetCompiler()Compiler to use.java.lang.StringgetCompilerClassName()The name of class that implements JavaCompiler, used for Java compilations.java.lang.StringgetCompilerSourceVM()Compiler source VM, e.g.java.lang.StringgetCompilerTargetVM()The compiler target VM, e.g.booleangetDevelopment()Is Jasper being used in development mode?booleangetErrorOnUseBeanInvalidClassAttribute()Returns true if Jasper issues a compilation error instead of a runtime Instantiation error if the class attribute specified in useBean action is invalid.booleangetFork()boolean flag to tell Ant whether to fork JSP page compilations.java.lang.StringgetIeClassId()Class ID for use in the plugin tag when the browser is IE.intgetInitialCapacity()Gets initial capacity of HashMap which maps JSPs to their corresponding servlets.java.lang.StringgetJavaEncoding()Java platform encoding to generate the JSP page servlet.JspConfiggetJspConfig()Obtain JSP configuration informantion specified in web.xml.booleangetKeepGenerated()Are we keeping generated code around?booleangetMappedFile()Are we supporting HTML mapped servlets?intgetModificationTestInterval()Modification test interval.booleangetSaveBytecode()If class files are generated as byte arrays, should they be saved to disk at the end of compilations?java.io.FilegetScratchDir()What is my scratch dir?booleangetSendErrorToClient()Should errors be sent to client or thrown into stderr?java.lang.StringgetSystemClassPath()Gets the system class path.TagPluginManagergetTagPluginManager()Obtain a Tag Plugin ManagerTldScannergetTldScanner()The cache for the location of the TLD's for the various tag libraries 'exposed' by the web application.booleangetTrimSpaces()Should white spaces between directives or actions be trimmed?booleangetUsePrecompiled()Returns the value of the usePrecompiled (or use-precompiled) init param.booleanisDefaultBufferNone()If the buffer attribute for the page directive is not specified, is the default "none"?booleanisPoolingEnabled()Returns true if tag handler pooling is enabled, false otherwise.booleanisSmapDumped()Indicates whether SMAP info for JSR45 debugging should be dumped to a file.booleanisSmapSuppressed()Is the generation of SMAP info for JSR45 debugging suppressed?booleanisValidationEnabled()booleanisXpoweredBy()Is generation of X-Powered-By response header enabled/disabled?
-
-
-
Method Detail
-
getErrorOnUseBeanInvalidClassAttribute
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.
-
getKeepGenerated
boolean getKeepGenerated()
Are we keeping generated code around?
-
isPoolingEnabled
boolean isPoolingEnabled()
Returns true if tag handler pooling is enabled, false otherwise.
-
getMappedFile
boolean getMappedFile()
Are we supporting HTML mapped servlets?
-
getSendErrorToClient
boolean getSendErrorToClient()
Should errors be sent to client or thrown into stderr?
-
getClassDebugInfo
boolean getClassDebugInfo()
Should we include debug information in compiled class?
-
getCheckInterval
int getCheckInterval()
Background compile thread check interval in seconds
-
getDevelopment
boolean getDevelopment()
Is Jasper being used in development mode?
-
isSmapSuppressed
boolean isSmapSuppressed()
Is the generation of SMAP info for JSR45 debugging suppressed?
-
isSmapDumped
boolean isSmapDumped()
Indicates whether SMAP info for JSR45 debugging should be dumped to a file. Ignored is suppressSmap() is true
-
getTrimSpaces
boolean getTrimSpaces()
Should white spaces between directives or actions be trimmed?
-
getIeClassId
java.lang.String getIeClassId()
Class ID for use in the plugin tag when the browser is IE.
-
getScratchDir
java.io.File getScratchDir()
What is my scratch dir?
-
getClassPath
java.lang.String getClassPath()
What classpath should I use while compiling the servlets generated from JSP files?
-
getSystemClassPath
java.lang.String getSystemClassPath()
Gets the system class path.- Returns:
- The system class path
-
getCompiler
java.lang.String getCompiler()
Compiler to use.
-
getCompilerTargetVM
java.lang.String getCompilerTargetVM()
The compiler target VM, e.g. 1.1, 1.2, 1.3, 1.4, or 1.5.
-
getCompilerSourceVM
java.lang.String getCompilerSourceVM()
Compiler source VM, e.g. 1.3, 1.4, or 1.5.
-
getCompilerClassName
java.lang.String getCompilerClassName()
The name of class that implements JavaCompiler, used for Java compilations.
-
getTldScanner
TldScanner getTldScanner()
The cache for the location of the TLD's for the various tag libraries 'exposed' by the web application. A tag library is 'exposed' either explicitely in web.xml or implicitely via the uri tag in the TLD of a taglib deployed in a jar file (WEB-INF/lib).- Returns:
- the instance of the TldScanner for the web-application.
-
getJavaEncoding
java.lang.String getJavaEncoding()
Java platform encoding to generate the JSP page servlet.
-
getFork
boolean getFork()
boolean flag to tell Ant whether to fork JSP page compilations.
-
getJspConfig
JspConfig getJspConfig()
Obtain JSP configuration informantion specified in web.xml.
-
isXpoweredBy
boolean isXpoweredBy()
Is generation of X-Powered-By response header enabled/disabled?
-
getTagPluginManager
TagPluginManager getTagPluginManager()
Obtain a Tag Plugin Manager
-
genStringAsCharArray
boolean genStringAsCharArray()
Are Text strings to be generated as char arrays?
-
genStringAsByteArray
boolean genStringAsByteArray()
Are text strings to be generated as byte arrays, if the page is unbuffered?
-
isDefaultBufferNone
boolean isDefaultBufferNone()
If the buffer attribute for the page directive is not specified, is the default "none"?
-
getModificationTestInterval
int getModificationTestInterval()
Modification test interval.
-
getUsePrecompiled
boolean getUsePrecompiled()
Returns the value of the usePrecompiled (or use-precompiled) init param.
-
getInitialCapacity
int getInitialCapacity()
Gets initial capacity of HashMap which maps JSPs to their corresponding servlets.
-
isValidationEnabled
boolean isValidationEnabled()
-
getSaveBytecode
boolean getSaveBytecode()
If class files are generated as byte arrays, should they be saved to disk at the end of compilations?
-
-