1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.directwebremoting.guice;
17
18
19 /**
20 * Parameters used to configure DWR.
21 * @author Tim Peierls [tim at peierls dot net]
22 */
23 public enum ParamName
24 {
25 ALLOW_GET_FOR_SAFARI ("allowGetForSafariButMakeForgeryEasier"),
26 CROSS_DOMAIN_SESSION_SECURITY ("crossDomainSessionSecurity"),
27 ALLOW_SCRIPT_TAG_REMOTING ("allowScriptTagRemoting"),
28 DEBUG ("debug"),
29 SCRIPT_SESSION_TIMEOUT ("scriptSessionTimeout"),
30 MAX_CALL_COUNT ("maxCallCount"),
31 ACTIVE_REVERSE_AJAX_ENABLED ("activeReverseAjaxEnabled"),
32 MAX_WAIT_AFTER_WRITE ("maxWaitAfterWrite"),
33 DISCONNECTED_TIME ("disconnectedTime"),
34 POLL_AND_COMET_ENABLED ("pollAndCometEnabled"),
35 MAX_WAITING_THREADS ("maxWaitingThreads"),
36 MAX_POLL_HITS_PER_SECOND ("maxPollHitsPerSecond"),
37 PRE_STREAM_WAIT_TIME ("preStreamWaitTime"),
38 POST_STREAM_WAIT_TIME ("postStreamWaitTime"),
39 IGNORE_LAST_MODIFIED ("ignoreLastModified"),
40 SCRIPT_COMPRESSED ("scriptCompressed"),
41 SESSION_COOKIE_NAME ("sessionCookieName"),
42 WELCOME_FILES ("welcomeFiles"),
43 NORMALIZE_INCLUDES_QUERY_STRING ("normalizeIncludesQueryString"),
44 OVERRIDE_PATH ("overridePath"),
45
46 CLASSES ("classes");
47
48 ParamName(String name)
49 {
50 this.name = name;
51 }
52
53 public String getName()
54 {
55 return name;
56 }
57
58 private final String name;
59 }