Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.equinox.http.jetty8/src/org/eclipse/equinox/http/jetty/JettyConstants.java')
-rwxr-xr-xbundles/org.eclipse.equinox.http.jetty8/src/org/eclipse/equinox/http/jetty/JettyConstants.java123
1 files changed, 123 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.http.jetty8/src/org/eclipse/equinox/http/jetty/JettyConstants.java b/bundles/org.eclipse.equinox.http.jetty8/src/org/eclipse/equinox/http/jetty/JettyConstants.java
new file mode 100755
index 000000000..4e1a3fa39
--- /dev/null
+++ b/bundles/org.eclipse.equinox.http.jetty8/src/org/eclipse/equinox/http/jetty/JettyConstants.java
@@ -0,0 +1,123 @@
+/*******************************************************************************
+ * Copyright (c) 2007, 2009 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.equinox.http.jetty;
+
+/**
+ * <p>
+ * Provides configuration constants for use with JettyConfigurator.
+ * </p>
+ * @since 1.1
+ * @noextend This interface is not intended to be extended by clients.
+ * @noimplement This interface is not intended to be implemented by clients.
+ */
+public interface JettyConstants {
+
+ /**
+ * name="http.enabled" type="Boolean" (default: true)
+ */
+ public static final String HTTP_ENABLED = "http.enabled"; //$NON-NLS-1$
+
+ /**
+ * name="http.port" type="Integer" (default: 0 -- first available port)
+ */
+ public static final String HTTP_PORT = "http.port"; //$NON-NLS-1$
+
+ /**
+ * name="http.host" type="String" (default: 0.0.0.0 -- all network adapters)
+ */
+ public static final String HTTP_HOST = "http.host"; //$NON-NLS-1$
+
+ /**
+ * name="http.nio" type="Boolean" (default: true, with some exceptions for JREs with known NIO problems)
+ * @since 1.1
+ */
+ public static final String HTTP_NIO = "http.nio"; //$NON-NLS-1$
+
+ /**
+ * name="https.enabled" type="Boolean" (default: false)
+ */
+ public static final String HTTPS_ENABLED = "https.enabled"; //$NON-NLS-1$
+
+ /**
+ * name="https.host" type="String" (default: 0.0.0.0 -- all network adapters)
+ */
+ public static final String HTTPS_HOST = "https.host"; //$NON-NLS-1$
+
+ /**
+ * name="https.port" type="Integer" (default: 0 -- first available port)
+ */
+ public static final String HTTPS_PORT = "https.port"; //$NON-NLS-1$
+
+ /**
+ * name="ssl.keystore" type="String"
+ */
+ public static final String SSL_KEYSTORE = "ssl.keystore"; //$NON-NLS-1$
+
+ /**
+ * name="ssl.password" type="String"
+ */
+ public static final String SSL_PASSWORD = "ssl.password"; //$NON-NLS-1$
+
+ /**
+ * name="ssl.keypassword" type="String"
+ */
+ public static final String SSL_KEYPASSWORD = "ssl.keypassword"; //$NON-NLS-1$
+
+ /**
+ * name="ssl.needclientauth" type="Boolean"
+ */
+ public static final String SSL_NEEDCLIENTAUTH = "ssl.needclientauth"; //$NON-NLS-1$
+
+ /**
+ * name="ssl.wantclientauth" type="Boolean"
+ */
+ public static final String SSL_WANTCLIENTAUTH = "ssl.wantclientauth"; //$NON-NLS-1$
+
+ /**
+ * name="ssl.protocol" type="String"
+ */
+ public static final String SSL_PROTOCOL = "ssl.protocol"; //$NON-NLS-1$
+
+ /**
+ * name="ssl.algorithm" type="String"
+ */
+ public static final String SSL_ALGORITHM = "ssl.algorithm"; //$NON-NLS-1$
+
+ /**
+ * name="ssl.keystoretype" type="String"
+ */
+ public static final String SSL_KEYSTORETYPE = "ssl.keystoretype"; //$NON-NLS-1$
+
+ /**
+ * name="context.path" type="String"
+ */
+ public static final String CONTEXT_PATH = "context.path"; //$NON-NLS-1$
+
+ /**
+ * name="context.sessioninactiveinterval" type="Integer"
+ */
+ public static final String CONTEXT_SESSIONINACTIVEINTERVAL = "context.sessioninactiveinterval"; //$NON-NLS-1$
+
+ /**
+ * name="customizer.class" type="String" <br />
+ * (full qualified name of the class that implements
+ * <code>org.eclipse.equinox.http.jetty.JettyCustomizer</code> and has a public no-arg constructor;
+ * the class must be supplied via a fragment to this bundle's classpath)</code>
+ * @since 1.1
+ */
+ public static final String CUSTOMIZER_CLASS = "customizer.class"; //$NON-NLS-1$
+
+ /**
+ * name="other.info" type="String"
+ */
+ public static final String OTHER_INFO = "other.info"; //$NON-NLS-1$
+
+}

Back to the top