Class TomcatVersion


  • public class TomcatVersion
    extends Object
    Author:
    Eugene Petrenko (eugene.petrenko@gmail.com) 16.08.2010
    • Constructor Detail

      • TomcatVersion

        public TomcatVersion()
    • Method Detail

      • getTomcatVersion

        @Nullable
        public static TomcatVersion.Version getTomcatVersion()
        Returns:
        version if it seems to be running under Tomcat, null otherwise
      • fromServerInfo

        @Nullable
        public static TomcatVersion.Version fromServerInfo​(@Nullable
                                                           String serverInfo)
        Returns:
        version if it seems to be Tomcat, null otherwise