01: /*
02: * Copyright 2007 Tim Peierls
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS,
12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13: * See the License for the specific language governing permissions and
14: * limitations under the License.
15: */
16: package org.directwebremoting.guice;
17:
18: /**
19: * Parameters used to configure DWR.
20: * @author Tim Peierls [tim at peierls dot net]
21: */
22: public enum ParamName {
23: ALLOW_GET_FOR_SAFARI("allowGetForSafariButMakeForgeryEasier"), CROSS_DOMAIN_SESSION_SECURITY(
24: "crossDomainSessionSecurity"), ALLOW_SCRIPT_TAG_REMOTING(
25: "allowScriptTagRemoting"), DEBUG("debug"), SCRIPT_SESSION_TIMEOUT(
26: "scriptSessionTimeout"), MAX_CALL_COUNT("maxCallCount"), ACTIVE_REVERSE_AJAX_ENABLED(
27: "activeReverseAjaxEnabled"), MAX_WAIT_AFTER_WRITE(
28: "maxWaitAfterWrite"), DISCONNECTED_TIME("disconnectedTime"), POLL_AND_COMET_ENABLED(
29: "pollAndCometEnabled"), MAX_WAITING_THREADS(
30: "maxWaitingThreads"), MAX_POLL_HITS_PER_SECOND(
31: "maxPollHitsPerSecond"), PRE_STREAM_WAIT_TIME(
32: "preStreamWaitTime"), POST_STREAM_WAIT_TIME(
33: "postStreamWaitTime"), IGNORE_LAST_MODIFIED(
34: "ignoreLastModified"), SCRIPT_COMPRESSED("scriptCompressed"), SESSION_COOKIE_NAME(
35: "sessionCookieName"), WELCOME_FILES("welcomeFiles"), NORMALIZE_INCLUDES_QUERY_STRING(
36: "normalizeIncludesQueryString"), OVERRIDE_PATH(
37: "overridePath"),
38:
39: CLASSES("classes");
40:
41: ParamName(String name) {
42: this .name = name;
43: }
44:
45: public String getName() {
46: return name;
47: }
48:
49: private final String name;
50: }
|