blob: 9ff273464b27bc5ee20a046f4a5257933197275f [file] [log] [blame]
// Copyright 2008, 2011 The Apache Software Foundation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package org.apache.tapestry5;
/**
* Meta-data keys that are applied to components and pages. In addition, in many cases a {@linkplain
* org.apache.tapestry5.SymbolConstants symbol constant key} is also a meta data key (where the symbol value is the
* ultimate default).
*
* @see org.apache.tapestry5.services.MetaDataLocator
* @see org.apache.tapestry5.MetaDataConstants
*/
public class MetaDataConstants
{
/**
* Meta data key applied to pages that sets the response content type. A factory default provides the value
* "text/html" when not overridden.
*/
public static final String RESPONSE_CONTENT_TYPE = "tapestry.response-content-type";
/**
* Meta data key applied to pages that may only be accessed via secure methods (HTTPS).
*/
public static final String SECURE_PAGE = "tapestry.secure-page";
/**
* Meta-data for identifying pages that should only be accessible from clients on the whitelist.
* The meta-default is "false".
*
* @see org.apache.tapestry5.services.security.ClientWhitelist
* @since 5.3
*/
public static final String WHITELIST_ONLY_PAGE = "tapestry.white-list-only-page";
/**
* Meta data key applied to pages that may only be accessed with a exact activation context.
*
* @since 5.4
*/
public static final String UNKNOWN_ACTIVATION_CONTEXT_CHECK = "tapestry.unknwon-activation-context-check";
}