org.apache.catalina.manager.Constants Maven / Gradle / Ivy
/*
* 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 {
HTML_HEADER_SECTION =
"\n" +
"\n" +
"\n";
BODY_HEADER_SECTION =
"{0} \n" +
"\n" +
"\n" +
"\n" +
"\n" +
"\n" +
" \n" +
" \n" +
" \n" +
" \n" +
" \n" +
" \n" +
" \n" +
" \n" +
" \n" +
" \n" +
"
\n" +
"
\n" +
"\n" +
" \n" +
" \n" +
" {1}\n" +
" \n" +
" \n" +
"
\n" +
"
\n" +
"\n";
MESSAGE_SECTION =
"\n" +
" \n" +
" " +
"{0} \n" +
" {1}
\n" +
" \n" +
"
\n" +
"
\n" +
"\n";
MANAGER_SECTION =
"\n" +
"\n" +
" {0} \n" +
" \n" +
" \n" +
" {2} \n" +
" {4} \n" +
" {6} \n" +
" {8} \n" +
" \n" +
"
\n" +
"
\n" +
"\n";
SERVER_HEADER_SECTION =
"\n" +
"\n" +
" {0} \n" +
" \n" +
"\n" +
" {1} \n" +
" {2} \n" +
" {3} \n" +
" {4} \n" +
" {5} \n" +
" {6} \n" +
" {7} \n" +
" {8} \n" +
" \n";
SERVER_ROW_SECTION =
"\n" +
" {0} \n" +
" {1} \n" +
" {2} \n" +
" {3} \n" +
" {4} \n" +
" {5} \n" +
" {6} \n" +
" {7} \n" +
" \n" +
"
\n" +
"
\n" +
"\n";
HTML_TAIL_SECTION =
"
\n" +
"\n" +
" Copyright © 1999-2022, Apache Software Foundation" +
" \n" +
"\n" +
"\n" +
"";
}
public static final String CHARSET="utf-8";
public static final String XML_DECLARATION =
"";
public static final String XML_STYLE =
"\n";
}