001// Licensed under the Apache License, Version 2.0 (the "License");
002// you may not use this file except in compliance with the License.
003// You may obtain a copy of the License at
004//
005// http://www.apache.org/licenses/LICENSE-2.0
006//
007// Unless required by applicable law or agreed to in writing, software
008// distributed under the License is distributed on an "AS IS" BASIS,
009// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
010// See the License for the specific language governing permissions and
011// limitations under the License.
012package org.apache.tapestry5.http.internal;
013
014
015public class TapestryHttpInternalConstants {
016
017    /**
018     * Init parameter used to identify the package from which application classes are loaded. Such
019     * classes are in the
020     * pages, components and mixins sub-packages.
021     */
022    public static final String TAPESTRY_APP_PACKAGE_PARAM = "tapestry.app-package";
023    
024    /**
025     * Turns off loading of default modules (as driven by JAR file Manifest entries).
026     */
027    public static final String DISABLE_DEFAULT_MODULES_PARAM = "tapestry.disable-default-modules";
028
029    public static final String CHARSET_CONTENT_TYPE_PARAMETER = "charset";
030
031    /**
032     * Name of response header for content encoding.
033     *
034     * @since 5.1.0.0
035     */
036    public static final String CONTENT_ENCODING_HEADER = "Content-Encoding";
037
038    /**
039     * Response content encoding value indicating use of GZIP compression.
040     *
041     * @since 5.1.0.0
042     */
043    public static final String GZIP_CONTENT_ENCODING = "gzip";
044
045}