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

Path
ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/java/org/apache/catalina/manager/host/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
3781 (3.7 KB)
MD5
e77bf4bc616dc84dce90a8f6bef40f94
SHA1
765d15ef0788f71f57fe156981d5496e7540f914
SHA256
60cef9a52a1f569dda70f3b71ca7a1767a7c46e87f700139fb179d2184980b61
SHA512

      
    
SHA1_git
778015815038b0f0b550754cf6380dc7e9d8f9e4
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
Constants.java | 3.7 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.host; public class Constants { public static final String Package = "org.apache.catalina.manager.host"; public static final String REL_EXTERNAL = org.apache.catalina.manager.Constants.REL_EXTERNAL; //@formatter:off public static final String 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> " + " "; public static final String 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> " + " "; public static final String SERVER_HEADER_SECTION = "<table border=\"1\" cellspacing=\"0\" cellpadding=\"3\"> " + "<tr> " + " <td colspan=\"6\" 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> " + "</tr> "; public static final String 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> " + "</tr> " + "</table> " + "<br> " + " "; public static final String 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"; }
Detected license expression
apache-2.0
Detected license expression (SPDX)
Apache-2.0
Percentage of license text
36.06
Copyrights
- end_line: 83
  copyright: Copyright (c) 1999-2026, Apache Software Foundation
  start_line: 83
Holders
- holder: Apache Software Foundation
  end_line: 83
  start_line: 83
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