MCPcopy Index your code
hub / github.com/apache/tomcat / EmbeddedServletOptions

Class EmbeddedServletOptions

java/org/apache/jasper/EmbeddedServletOptions.java:39–924  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

37 * A class to hold all init parameters specific to the JSP engine.
38 */
39public final class EmbeddedServletOptions implements Options {
40
41 // Logger
42 private final Log log = LogFactory.getLog(EmbeddedServletOptions.class); // must not be static
43
44 private final Properties settings = new Properties();
45
46 /**
47 * Is Jasper being used in development mode?
48 */
49 private boolean development = true;
50
51 /**
52 * Should Ant fork its java compiles of JSP pages.
53 */
54 public boolean fork = true;
55
56 /**
57 * Do you want to keep the generated Java files around?
58 */
59 private boolean keepGenerated = true;
60
61 /**
62 * How should template text that consists entirely of whitespace be handled?
63 */
64 private TrimSpacesOption trimSpaces = TrimSpacesOption.FALSE;
65
66 /**
67 * Determines whether tag handler pooling is enabled.
68 */
69 private boolean isPoolingEnabled = true;
70
71 /**
72 * Do you want support for "mapped" files? This will generate servlet that has a print statement per line of the JSP
73 * file. This seems like a really nice feature to have for debugging.
74 */
75 private boolean mappedFile = true;
76
77 /**
78 * Do we want to include debugging information in the class file?
79 */
80 private boolean classDebugInfo = true;
81
82 /**
83 * Background compile thread check interval in seconds.
84 */
85 private int checkInterval = 0;
86
87 /**
88 * Is the generation of SMAP info for JSR45 debugging suppressed?
89 */
90 private boolean isSmapSuppressed = false;
91
92 /**
93 * Should SMAP info for JSR45 debugging be dumped to a file?
94 */
95 private boolean isSmapDumped = false;
96

Callers

nothing calls this directly

Calls 1

getLogMethod · 0.95

Tested by

no test coverage detected