ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/java/org/apache/jasper/Constants.java

Path
ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/java/org/apache/jasper/Constants.java
Status
scanned
Type
file
Name
Constants.java
Extension
.java
Programming language
Java
Mime type
text/plain
File type
ASCII text, with CRLF line terminators
Tag

      
    
Rootfs path

      
    
Size
2852 (2.8 KB)
MD5
242320539c88f24f89f1afc61d3ebc4c
SHA1
7bd71612e03f8125f58c19f2ae3468d26ad49ebd
SHA256
b2ca1794fac489224a1a12989317c1764078e17afeee424de7f4a797f47d0e3d
SHA512

      
    
SHA1_git
d256507e0dcdd3877b24910635d7d11e30d0f213
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
Constants.java | 2.8 KB |

/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You 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.jasper; import java.util.List; /** * Some constants and other global data that are used by the compiler and the runtime. */ public class Constants { public static final String SPEC_VERSION = "4.0"; /** * These classes/packages are automatically imported by the generated code. */ public static final List<String> STANDARD_IMPORTS = List.of("jakarta.servlet.*", "jakarta.servlet.http.*", "jakarta.servlet.jsp.*"); /** * Default size of the JSP buffer. */ public static final int DEFAULT_BUFFER_SIZE = 8 * 1024; /** * Default size for the tag buffers. */ public static final int DEFAULT_TAG_BUFFER_SIZE = 512; /** * Default tag handler pool size. */ public static final int MAX_POOL_SIZE = 5; /** * Name of the system property containing the tomcat product installation path */ public static final String CATALINA_HOME_PROP = "catalina.home"; /** * Name of the ServletContext init-param that determines if the XML parsers used for *.tld files will be validating * or not. * <p> * This must be kept in sync with org.apache.catalina.Globals */ public static final String XML_VALIDATION_TLD_INIT_PARAM = "org.apache.jasper.XML_VALIDATE_TLD"; /** * Name of the ServletContext init-param that determines if the XML parsers will block the resolution of external * entities. * <p> * This must be kept in sync with org.apache.catalina.Globals */ public static final String XML_BLOCK_EXTERNAL_INIT_PARAM = "org.apache.jasper.XML_BLOCK_EXTERNAL"; /** * Name of the ServletContext init-param that determines the JSP factory pool size. Set the value to a positive * integer to enable it. The default value is <code>8</code> per thread. */ public static final String JSP_FACTORY_POOL_SIZE_INIT_PARAM = "org.apache.jasper.runtime.JspFactoryImpl.POOL_SIZE"; }
Detected license expression
apache-2.0
Detected license expression (SPDX)
Apache-2.0
Percentage of license text
31.15
Copyrights

      
    
Holders

      
    
Authors

      
    
License detections License expression License expression SPDX
apache_2_0-4bde3f57-78aa-4201-96bf-531cba09e7de apache-2.0 Apache-2.0
URL Start line End line
http://www.apache.org/licenses/LICENSE-2.0 9 9