org.apache.jasper

Class EmbeddedServletOptions

public final class EmbeddedServletOptions extends Object implements Options

A class to hold all init parameters specific to the JSP engine.

Author: Anil K. Vijendran Hans Bergsten Pierre Delisle

Field Summary
booleanfork
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
booleangenStringAsCharArray()
Are Text strings to be generated as char arrays?
MapgetCache()
intgetCheckInterval()
Background JSP compile thread check intervall
booleangetClassDebugInfo()
Should class files be compiled with debug information?
StringgetClassPath()
What classpath should I use while compiling the servlets generated from JSP files?
StringgetCompiler()
Compiler to use.
StringgetCompilerClassName()
Java compiler class to use.
StringgetCompilerSourceVM()
StringgetCompilerTargetVM()
booleangetDevelopment()
Is Jasper being used in development mode?
booleangetDisplaySourceFragment()
Should we include a source fragment in exception messages, which could be displayed to the developer ?
booleangetErrorOnUseBeanInvalidClassAttribute()
booleangetFork()
StringgetIeClassId()
Class ID for use in the plugin tag when the browser is IE.
StringgetJavaEncoding()
JspConfiggetJspConfig()
booleangetKeepGenerated()
Are we keeping generated code around?
booleangetMappedFile()
Are we supporting HTML mapped servlets?
intgetModificationTestInterval()
Modification test interval.
StringgetProperty(String name)
FilegetScratchDir()
What is my scratch dir?
TagPluginManagergetTagPluginManager()
TldLocationsCachegetTldLocationsCache()
booleangetTrimSpaces()
Should white spaces between directives or actions be trimmed?
booleanisCaching()
booleanisPoolingEnabled()
booleanisSmapDumped()
Should SMAP info for JSR45 debugging be dumped to a file?
booleanisSmapSuppressed()
Is the generation of SMAP info for JSR45 debuggin suppressed?
booleanisXpoweredBy()
Is generation of X-Powered-By response header enabled/disabled?
voidsetErrorOnUseBeanInvalidClassAttribute(boolean b)
voidsetProperty(String name, String value)
voidsetTldLocationsCache(TldLocationsCache tldC)

Field Detail

fork

public boolean fork
Should Ant fork its java compiles of JSP pages.

Constructor Detail

EmbeddedServletOptions

public EmbeddedServletOptions(ServletConfig config, ServletContext context)
Create an EmbeddedServletOptions object using data available from ServletConfig and ServletContext.

Method Detail

genStringAsCharArray

public boolean genStringAsCharArray()
Are Text strings to be generated as char arrays?

getCache

public Map getCache()

getCheckInterval

public int getCheckInterval()
Background JSP compile thread check intervall

getClassDebugInfo

public boolean getClassDebugInfo()
Should class files be compiled with debug information?

getClassPath

public String getClassPath()
What classpath should I use while compiling the servlets generated from JSP files?

getCompiler

public String getCompiler()
Compiler to use.

getCompilerClassName

public String getCompilerClassName()
Java compiler class to use.

getCompilerSourceVM

public String getCompilerSourceVM()

See Also: Options

getCompilerTargetVM

public String getCompilerTargetVM()

See Also: Options

getDevelopment

public boolean getDevelopment()
Is Jasper being used in development mode?

getDisplaySourceFragment

public boolean getDisplaySourceFragment()
Should we include a source fragment in exception messages, which could be displayed to the developer ?

getErrorOnUseBeanInvalidClassAttribute

public boolean getErrorOnUseBeanInvalidClassAttribute()

getFork

public boolean getFork()

getIeClassId

public String getIeClassId()
Class ID for use in the plugin tag when the browser is IE.

getJavaEncoding

public String getJavaEncoding()

getJspConfig

public JspConfig getJspConfig()

getKeepGenerated

public boolean getKeepGenerated()
Are we keeping generated code around?

getMappedFile

public boolean getMappedFile()
Are we supporting HTML mapped servlets?

getModificationTestInterval

public int getModificationTestInterval()
Modification test interval.

getProperty

public String getProperty(String name)

getScratchDir

public File getScratchDir()
What is my scratch dir?

getTagPluginManager

public TagPluginManager getTagPluginManager()

getTldLocationsCache

public TldLocationsCache getTldLocationsCache()

getTrimSpaces

public boolean getTrimSpaces()
Should white spaces between directives or actions be trimmed?

isCaching

public boolean isCaching()

isPoolingEnabled

public boolean isPoolingEnabled()

isSmapDumped

public boolean isSmapDumped()
Should SMAP info for JSR45 debugging be dumped to a file?

isSmapSuppressed

public boolean isSmapSuppressed()
Is the generation of SMAP info for JSR45 debuggin suppressed?

isXpoweredBy

public boolean isXpoweredBy()
Is generation of X-Powered-By response header enabled/disabled?

setErrorOnUseBeanInvalidClassAttribute

public void setErrorOnUseBeanInvalidClassAttribute(boolean b)

setProperty

public void setProperty(String name, String value)

setTldLocationsCache

public void setTldLocationsCache(TldLocationsCache tldC)
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.