Package org.apache.catalina.util
Class ServerInfo
- java.lang.Object
-
- org.apache.catalina.util.ServerInfo
-
public class ServerInfo extends Object
Simple utility module to make it easy to plug in the server identifier when integrating Tomcat.- Version:
- $Revision: 1.3 $ $Date: 2005/12/08 01:28:20 $
- Author:
- Craig R. McClanahan
-
-
Constructor Summary
Constructors Constructor Description ServerInfo()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetPublicServerInfo()static StringgetServerInfo()Return the server identification for this version of Tomcat.static voidsetPublicServerInfo(String info)static voidsetServerInfo(String info)
-
-
-
Method Detail
-
setServerInfo
public static void setServerInfo(String info)
-
getServerInfo
public static String getServerInfo()
Return the server identification for this version of Tomcat.
-
setPublicServerInfo
public static void setPublicServerInfo(String info)
-
getPublicServerInfo
public static String getPublicServerInfo()
-
-