JspEngineInfo (JSP 2.3 API Documentation - Apache Tomcat 9.0.37)

javax.servlet.jsp

## Class JspEngineInfo

- java.lang.Object
- - javax.servlet.jsp.JspEngineInfo

-     public abstract class JspEngineInfo
      extends java.lang.Object

  The JspEngineInfo is an abstract class that provides information on the current JSP engine.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `JspEngineInfo()` Sole constructor.

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `abstract java.lang.String` | `getSpecificationVersion()` Return the version number of the JSP specification that is supported by this JSP engine.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### JspEngineInfo

          public JspEngineInfo()

      Sole constructor. (For invocation by subclass constructors, typically implicit.)

  - ### Method Detail

    - #### getSpecificationVersion

          public abstract java.lang.String getSpecificationVersion()

      Return the version number of the JSP specification that is supported by this JSP engine.

      Specification version numbers that consists of positive decimal integers separated by periods ".", for example, "2.0" or "1.2.3.4.5.6.7". This allows an extensible number to be used to represent major, minor, micro, etc versions. The version number must begin with a number.

      Returns:
        the specification version, null is returned if it is not known

Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.