| /******************************************************************************* |
| * Copyright (c) 2014, 2019 Raymond Augé and others. |
| * |
| * This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License 2.0 |
| * which accompanies this distribution, and is available at |
| * https://www.eclipse.org/legal/epl-2.0/ |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| * |
| * Contributors: |
| * Raymond Augé - bug fixes and enhancements |
| ******************************************************************************/ |
| |
| package org.eclipse.equinox.http.servlet.internal.util; |
| |
| /** |
| * @author Raymond Augé |
| */ |
| public class Const { |
| |
| public static final String AMP = "&"; //$NON-NLS-1$ |
| public static final String BLANK = ""; //$NON-NLS-1$ |
| public static final String CLOSE_PAREN = ")"; //$NON-NLS-1$ |
| public static final String CONTEXT_PATH = "context.path"; //$NON-NLS-1$ |
| public static final String DOT = "."; //$NON-NLS-1$ |
| public static final String[] EMPTY_ARRAY = new String[0]; |
| public static final String EQUAL = "="; //$NON-NLS-1$ |
| public static final String FILTER_NAME = "filter-name"; //$NON-NLS-1$ |
| public static final String FILTER_PRIORITY = "filter-priority"; //$NON-NLS-1$ |
| public static final String HTTP = "http"; //$NON-NLS-1$ |
| public static final String HTTP_HOST = "http.host"; //$NON-NLS-1$ |
| public static final String HTTP_PORT = "http.port"; //$NON-NLS-1$ |
| public static final String HTTPS = "https"; //$NON-NLS-1$ |
| public static final String HTTPS_HOST = "https.host"; //$NON-NLS-1$ |
| public static final String HTTPS_PORT = "https.port"; //$NON-NLS-1$ |
| public static final String LOCALHOST = "localhost"; //$NON-NLS-1$ |
| public static final String OPEN_PAREN = "("; //$NON-NLS-1$ |
| public static final String PROTOCOL = "://"; //$NON-NLS-1$ |
| public static final String SERVLET_NAME = "servlet-name"; //$NON-NLS-1$ |
| public static final String SLASH = "/"; //$NON-NLS-1$ |
| public static final String SLASH_STAR = "/*"; //$NON-NLS-1$ |
| public static final String SLASH_STAR_DOT = "/*."; //$NON-NLS-1$ |
| public static final String STAR_DOT = "*."; //$NON-NLS-1$ |
| public static final String EQUINOX_HTTP_MULTIPART_ENABLED = "equinox.http.multipartSupported"; //$NON-NLS-1$ |
| public static final String EQUINOX_HTTP_MULTIPART_FILESIZETHRESHOLD = "equinox.http.whiteboard.servlet.multipart.fileSizeThreshold"; //$NON-NLS-1$ |
| public static final String EQUINOX_HTTP_MULTIPART_LOCATION = "equinox.http.whiteboard.servlet.multipart.location"; //$NON-NLS-1$ |
| public static final String EQUINOX_HTTP_MULTIPART_MAXFILESIZE = "equinox.http.whiteboard.servlet.multipart.maxFileSize"; //$NON-NLS-1$ |
| public static final String EQUINOX_HTTP_MULTIPART_MAXREQUESTSIZE = "equinox.http.whiteboard.servlet.multipart.maxRequestSize"; //$NON-NLS-1$ |
| public static final String EQUINOX_LEGACY_TCCL_PROP = "equinox.legacy.tccl"; //$NON-NLS-1$ |
| public static final String EQUINOX_LEGACY_CONTEXT_SELECT = "equinox.context.select"; //$NON-NLS-1$ |
| public static final String EQUINOX_LEGACY_CONTEXT_HELPER = "equinox.legacy.context.helper"; //$NON-NLS-1$ |
| public static final String EQUINOX_LEGACY_HTTP_CONTEXT_INITIATING_ID = "equinox.legacy.http.context.initiating.id"; //$NON-NLS-1$ |
| public static final String EQUINOX_HTTP_WHITEBOARD_CONTEXT_HELPER_DEFAULT = "equinox.http.whiteboard.context.helper.default"; //$NON-NLS-1$ |
| public static final String UTF8 = "UTF-8"; //$NON-NLS-1$ |
| |
| } |