All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.blade.Const Maven / Gradle / Ivy

There is a newer version: 1.7.2-beta
Show newest version
/**
 * Copyright (c) 2015, biezhi 王爵 ([email protected])
 *
 * 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 com.blade;

/**
 * 常量接口
 * 
 * @author	biezhi
 * @since	1.0
 */
public interface Const {

	/**
	 * 当前最新版本
	 */
	String BLADE_VERSION = "1.5.0-beta";
	
	/**
     * 服务器500错误时返回的HTML
     */
	String INTERNAL_ERROR = "500 Internal Error

500 Internal Error


blade " + BLADE_VERSION +"
"; /** * 服务器404错误HTML */ String VIEW_NOTFOUND = "404 Not Found

[ %s ] Not Found


blade " + BLADE_VERSION +"
"; /** * jetty默认端口 */ int DEFAULT_PORT = 9000; /** * 请求线程池context key */ String BLADE_EXECUTOR = "blade-req-executor"; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy