|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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(ServletConfig config,
ServletContext context)
Create an EmbeddedServletOptions object using data available from ServletConfig and ServletContext. |
|
| Method Summary | |
|---|---|
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? |
String |
getClassPath()
What classpath should I use while compiling the servlets generated from JSP files? |
String |
getCompiler()
Compiler to use. |
String |
getCompilerSourceVM()
Compiler source VM, e.g. |
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. |
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. |
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. |
String |
getProperty(String name)
|
boolean |
getSaveBytecode()
If class files are generated as byte arrays, should they be saved to disk at the end of compilations? |
File |
getScratchDir()
What is my scratch dir? |
boolean |
getSendErrorToClient()
Should errors be sent to client or thrown into stderr? |
String |
getSystemClassPath()
Gets the system class path. |
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 |
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(String name,
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(ServletConfig config,
ServletContext context)
| Method Detail |
|---|
public String getProperty(String name)
public void setProperty(String name,
String value)
public boolean getKeepGenerated()
getKeepGenerated in interface Optionspublic boolean getSaveBytecode()
Options
getSaveBytecode in interface Optionspublic boolean getTrimSpaces()
getTrimSpaces in interface Optionspublic boolean isPoolingEnabled()
Options
isPoolingEnabled in interface Optionspublic boolean getMappedFile()
getMappedFile in interface Optionspublic boolean getSendErrorToClient()
getSendErrorToClient in interface Optionspublic boolean getClassDebugInfo()
getClassDebugInfo in interface Optionspublic int getCheckInterval()
getCheckInterval in interface Optionspublic int getModificationTestInterval()
getModificationTestInterval in interface Optionspublic boolean getDevelopment()
getDevelopment in interface Optionspublic boolean isSmapSuppressed()
isSmapSuppressed in interface Optionspublic boolean isSmapDumped()
isSmapDumped in interface Optionspublic boolean genStringAsCharArray()
genStringAsCharArray in interface Optionspublic boolean genStringAsByteArray()
Options
genStringAsByteArray in interface Optionspublic boolean isDefaultBufferNone()
Options
isDefaultBufferNone in interface Optionspublic String getIeClassId()
getIeClassId in interface Optionspublic File getScratchDir()
getScratchDir in interface Optionspublic String getClassPath()
getClassPath in interface Optionspublic String getSystemClassPath()
getSystemClassPath in interface Optionspublic boolean isXpoweredBy()
isXpoweredBy in interface Optionspublic String getCompiler()
getCompiler in interface Optionspublic String getCompilerTargetVM()
Options
getCompilerTargetVM in interface OptionsOptions.getCompilerTargetVM()public String getCompilerSourceVM()
Options
getCompilerSourceVM in interface OptionsOptions.getCompilerSourceVM()public boolean getErrorOnUseBeanInvalidClassAttribute()
Options
getErrorOnUseBeanInvalidClassAttribute in interface Optionspublic void setErrorOnUseBeanInvalidClassAttribute(boolean b)
public TldLocationsCache getTldLocationsCache()
Options
getTldLocationsCache in interface Optionspublic void setTldLocationsCache(TldLocationsCache tldC)
public String getJavaEncoding()
Options
getJavaEncoding in interface Optionspublic boolean getFork()
Options
getFork in interface Optionspublic JspConfig getJspConfig()
Options
getJspConfig in interface Optionspublic TagPluginManager getTagPluginManager()
Options
getTagPluginManager in interface Optionspublic int getInitialCapacity()
getInitialCapacity in interface Optionspublic boolean getUsePrecompiled()
getUsePrecompiled in interface Optionspublic boolean isValidationEnabled()
isValidationEnabled in interface Options
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||