001// --------------------------------------------------------------------------------
002// Copyright 2002-2024 Echo Three, LLC
003//
004// Licensed under the Apache License, Version 2.0 (the "License");
005// you may not use this file except in compliance with the License.
006// You may obtain a copy of the License at
007//
008//     http://www.apache.org/licenses/LICENSE-2.0
009//
010// Unless required by applicable law or agreed to in writing, software
011// distributed under the License is distributed on an "AS IS" BASIS,
012// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013// See the License for the specific language governing permissions and
014// limitations under the License.
015// --------------------------------------------------------------------------------
016
017package com.echothree.view.client.web;
018
019public interface WebConstants {
020
021    String Method_DELETE = "DELETE";
022    String Method_GET = "GET";
023    String Method_HEAD = "HEAD";
024    String Method_OPTIONS = "OPTIONS";
025    String Method_POST = "POST";
026    String Method_PUT = "PUT";
027
028    String Attribute_SECURITY_ROLES = "com.echothree.view.client.web.taglib.securityRoles";
029    String Attribute_ENTITY_REFS = "com.echothree.view.client.web.taglib.entityRefs";
030    String Attribute_HTML_FILTER_HOLDER = "com.echothree.view.client.web.taglib.htmlFilterHolder";
031    String Attribute_STACK_TRACE = "stackTrace";
032    String Attribute_TRANSFER_PROPERTIES_HOLDER = "com.echothree.view.client.web.taglib.transferPropertiesHolder";
033    String Attribute_REPEAT_HOLDER = "com.echothree.view.client.web.taglib.repeatHolder";
034    
035    String Cookie_USER_KEY = "UserKey";
036    
037    String Session_USER_VISIT = "UserVisit";
038    
039    String Parameter_Campaign = "Campaign";
040    String Parameter_Content = "Content";
041    String Parameter_DT_ID_ATTRIBUTE = "DtIdAttribute";
042    String Parameter_DT_ORDER_PARAMETER = "DtOrderParameter";
043    String Parameter_DT_PAGE_PARAMETER = "DtPageParameter";
044    String Parameter_DT_SORT_PARAMETER = "DtSortParameter";
045    String Parameter_Medium = "Medium";
046    String Parameter_SUBMIT_BUTTON = "submitButton";
047    String Parameter_Source = "Source";
048    String Parameter_Term = "Term";
049    String Parameter_Track = "Track";
050    String Parameter_trk = "trk";
051    String Parameter_utm_campaign = "utm_campaign";
052    String Parameter_utm_content = "utm_content";
053    String Parameter_utm_medium = "utm_medium";
054    String Parameter_utm_source = "utm_source";
055    String Parameter_utm_term = "utm_term";
056    
057    String Attribute_DT_ID_ATTRIBUTE = "dtIdAttribute";
058    String Attribute_DT_SORT_PARAMETER = "dtSortParameter";
059    String Attribute_DT_PAGE_PARAMETER = "dtPageParameter";
060    String Attribute_DT_ORDER_PARAMETER = "dtOrderParameter";
061
062    // Must match client's ForwardConstants
063    String Forward_Error404 = "Error404";
064    String Forward_Error500 = "Error500";
065
066}