| /* |
| * Copyright (c) 2021-2022 Contributors to Eclipse Foundation. |
| * Copyright (c) 1997-2022 Oracle and/or its affiliates. All rights reserved. |
| * Copyright 2004 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.catalina.core; |
| |
| |
| public class Constants { |
| |
| public static final String Package = "org.apache.catalina.core"; |
| public static final int MAJOR_VERSION = 6; |
| public static final int MINOR_VERSION = 0; |
| |
| public static final String JSP_SERVLET_CLASS = "org.glassfish.wasp.servlet.JspServlet"; |
| |
| public static final String JSP_SERVLET_NAME = "jsp"; |
| |
| public static final String DEFAULT_SERVLET_NAME = "default"; |
| |
| public static final String IS_DEFAULT_ERROR_PAGE_ENABLED_INIT_PARAM = "org.glassfish.web.isDefaultErrorPageEnabled"; |
| |
| public static final String COOKIE_COMMENT_ATTR = "Comment"; |
| public static final String COOKIE_DOMAIN_ATTR = "Domain"; |
| public static final String COOKIE_MAX_AGE_ATTR = "Max-Age"; |
| public static final String COOKIE_PATH_ATTR = "Path"; |
| public static final String COOKIE_SECURE_ATTR = "Secure"; |
| public static final String COOKIE_HTTP_ONLY_ATTR = "HttpOnly"; |
| public static final String COOKIE_SAME_SITE_ATTR = "SameSite"; |
| } |