| /******************************************************************************* |
| * Copyright (c) 2007, 2008 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="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="other.info" type="String" |
| */ |
| public static final String OTHER_INFO = "other.info"; //$NON-NLS-1$ |
| |
| } |