KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > appserv > management > config > HTTPListenerConfigKeys


1 /*
2  * The contents of this file are subject to the terms
3  * of the Common Development and Distribution License
4  * (the License). You may not use this file except in
5  * compliance with the License.
6  *
7  * You can obtain a copy of the license at
8  * https://glassfish.dev.java.net/public/CDDLv1.0.html or
9  * glassfish/bootstrap/legal/CDDLv1.0.txt.
10  * See the License for the specific language governing
11  * permissions and limitations under the License.
12  *
13  * When distributing Covered Code, include this CDDL
14  * Header Notice in each file and include the License file
15  * at glassfish/bootstrap/legal/CDDLv1.0.txt.
16  * If applicable, add the following below the CDDL Header,
17  * with the fields enclosed by brackets [] replaced by
18  * you own identifying information:
19  * "Portions Copyrighted [year] [name of copyright owner]"
20  *
21  * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
22  */

23 package com.sun.appserv.management.config;
24
25 /**
26     Keys for use with {@link HTTPServiceConfig#createHTTPListenerConfig}.
27  */

28 public final class HTTPListenerConfigKeys extends CommonConfigKeys
29 {
30     private HTTPListenerConfigKeys() {}
31     
32     /** Key for use with HTTPServiceConfig#createHTTPListenerConfig() */
33     public final static String JavaDoc ADDRESS_KEY = "Address";
34     /** Key for use with HTTPServiceConfig#createHTTPListenerConfig() */
35     public final static String JavaDoc PORT_KEY = "Port";
36     /** Key for use with HTTPServiceConfig#createHTTPListenerConfig() */
37     public final static String JavaDoc ENABLED_KEY = "Enabled";
38     /** Key for use with HTTPServiceConfig#createHTTPListenerConfig() */
39     public final static String JavaDoc SECURITY_ENABLED_KEY = "SecurityEnabled";
40     /** Key for use with HTTPServiceConfig#createHTTPListenerConfig() */
41     public final static String JavaDoc DEFAULT_VIRTUAL_SERVER_KEY = "DefaultVirtualServer";
42     /** Key for use with HTTPServiceConfig#createHTTPListenerConfig() */
43     public final static String JavaDoc ACCEPTOR_THREADS_KEY = "AcceptorThreads";
44     /** Key for use with HTTPServiceConfig#createHTTPListenerConfig() (Boolean) */
45     public final static String JavaDoc XPOWERED_BY_KEY = "XpoweredBy";
46     /** Key for use with HTTPServiceConfig#createHTTPListenerConfig() */
47     public final static String JavaDoc SERVER_NAME_KEY = "ServerName";
48     /** Key for use with HTTPServiceConfig#createHTTPListenerConfig() */
49     public final static String JavaDoc EXTERNAL_PORT_KEY = "ExternalPort";
50     /**
51         Key for use with HTTPServiceConfig#createHTTPListenerConfig()
52         Legal values are as defined in {@link HTTPListenerConfigFamilyValues}.
53      */

54     public final static String JavaDoc FAMILY_KEY = "Family";
55     /** Key for use with HTTPServiceConfig#createHTTPListenerConfig() */
56     public final static String JavaDoc BLOCKING_ENABLED_KEY = "BlockingEnabled";
57     /** Key for use with HTTPServiceConfig#createHTTPListenerConfig() */
58     public final static String JavaDoc REDIRECT_PORT_KEY = "RedirectPort";
59     
60     /**
61         Key for use with HTTPServiceConfig#createHTTPListenerConfig()
62         Value should be a Map containing items keyed by keys in {@link SSLConfigKeys}
63     */

64     public final static String JavaDoc SSL_PARAMS_KEY = "SSL";
65 }
66
Popular Tags