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

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

      
    
Rootfs path

      
    
Size
6721 (6.6 KB)
MD5
f704f80d599db0104ca904e7018ab93b
SHA1
92ceceaa524b006bf11a2a00b36dba5401f32cdc
SHA256
a98af5fd954dda6db6742b58065a63387596ff5ebe571e767faa5f5f543ae754
SHA512

      
    
SHA1_git
80a2e2650eee2f4dd6e35c884bdabc0b70e96ef2
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
Constants.java | 6.6 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.catalina.manager; public class Constants { public static final String Package = "org.apache.catalina.manager"; public static final String REL_EXTERNAL = "rel=\"noopener noreferrer\""; public static final String HTML_HEADER_SECTION; public static final String BODY_HEADER_SECTION; public static final String MESSAGE_SECTION; public static final String MANAGER_SECTION; public static final String SERVER_HEADER_SECTION; public static final String SERVER_ROW_SECTION; public static final String HTML_TAIL_SECTION; static { //@formatter:off HTML_HEADER_SECTION = "<html> " + "<head> " + "<link href=\"{0}/images/favicon.ico\" rel=\"icon\" type=\"image/x-icon\" /> " + "<link rel=\"stylesheet\" href=\"{0}/css/manager.css\"> "; BODY_HEADER_SECTION = "<title>{0}</title> " + "</head> " + " " + "<body bgcolor=\"#FFFFFF\"> " + " " + "<table cellspacing=\"4\" border=\"0\"> " + " <tr> " + " <td colspan=\"2\"> " + " <a href=\"https://tomcat.apache.org/\" " + REL_EXTERNAL + "> " + " <img class='tomcat-logo' alt=\"The Tomcat Servlet/JSP Container\" " + " src=\"{0}/images/tomcat.svg\"> " + " </a> " + " <a href=\"https://www.apache.org/\" " + REL_EXTERNAL + "> " + " <img border=\"0\" alt=\"The Apache Software Foundation\" align=\"right\" " + " src=\"{0}/images/asf-logo.svg\" style=\"width: 266px; height: 83px;\"> " + " </a> " + " </td> " + " </tr> " + "</table> " + "<hr size=\"1\" noshade=\"noshade\"> " + "<table cellspacing=\"4\" border=\"0\"> " + " <tr> " + " <td class=\"page-title\" bordercolor=\"#000000\" " + "align=\"left\" nowrap> " + " <font size=\"+2\">{1}</font> " + " </td> " + " </tr> " + "</table> " + "<br> " + " "; MESSAGE_SECTION = "<table border=\"1\" cellspacing=\"0\" cellpadding=\"3\"> " + " <tr> " + " <td class=\"row-left\" width=\"10%\">" + "<small><strong>{0}</strong></small>&nbsp;</td> " + " <td class=\"row-left\"><pre>{1}</pre></td> " + " </tr> " + "</table> " + "<br> " + " "; MANAGER_SECTION = "<table border=\"1\" cellspacing=\"0\" cellpadding=\"3\"> " + "<tr> " + " <td colspan=\"4\" class=\"title\">{0}</td> " + "</tr> " + " <tr> " + " <td class=\"row-left\"><a href=\"{1}\">{2}</a></td> " + " <td class=\"row-center\"><a href=\"{3}\" " + REL_EXTERNAL + ">{4}</a></td> " + " <td class=\"row-center\"><a href=\"{5}\" " + REL_EXTERNAL + ">{6}</a></td> " + " <td class=\"row-right\"><a href=\"{7}\">{8}</a></td> " + " </tr> " + "</table> " + "<br> " + " "; SERVER_HEADER_SECTION = "<table border=\"1\" cellspacing=\"0\" cellpadding=\"3\"> " + "<tr> " + " <td colspan=\"8\" class=\"title\">{0}</td> " + "</tr> " + "<tr> " + " <td class=\"header-center\"><small>{1}</small></td> " + " <td class=\"header-center\"><small>{2}</small></td> " + " <td class=\"header-center\"><small>{3}</small></td> " + " <td class=\"header-center\"><small>{4}</small></td> " + " <td class=\"header-center\"><small>{5}</small></td> " + " <td class=\"header-center\"><small>{6}</small></td> " + " <td class=\"header-center\"><small>{7}</small></td> " + " <td class=\"header-center\"><small>{8}</small></td> " + "</tr> "; SERVER_ROW_SECTION = "<tr> " + " <td class=\"row-center\"><small>{0}</small></td> " + " <td class=\"row-center\"><small>{1}</small></td> " + " <td class=\"row-center\"><small>{2}</small></td> " + " <td class=\"row-center\"><small>{3}</small></td> " + " <td class=\"row-center\"><small>{4}</small></td> " + " <td class=\"row-center\"><small>{5}</small></td> " + " <td class=\"row-center\"><small>{6}</small></td> " + " <td class=\"row-center\"><small>{7}</small></td> " + "</tr> " + "</table> " + "<br> " + " "; HTML_TAIL_SECTION = "<hr size=\"1\" noshade=\"noshade\"> " + "<center><font size=\"-1\" color=\"#525D76\"> " + " <em>Copyright &copy; 1999-2026, Apache Software Foundation</em>" + "</font></center> " + " " + "</body> " + "</html>"; //@formatter:on } public static final String CHARSET = "utf-8"; public static final String XML_DECLARATION = "<?xml version=\"1.0\" encoding=\"" + CHARSET + "\"?>"; public static final String XML_STYLE = "<?xml-stylesheet type=\"text/xsl\" href=\"{0}/xform.xsl\" ?> "; }
Detected license expression
apache-2.0
Detected license expression (SPDX)
Apache-2.0
Percentage of license text
24.29
Copyrights
- end_line: 134
  copyright: Copyright (c) 1999-2026, Apache Software Foundation
  start_line: 134
Holders
- holder: Apache Software Foundation
  end_line: 134
  start_line: 134
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
https://tomcat.apache.org/ 51 51
https://www.apache.org/ 55 55