org.springframework.boot.web.servlet.server

Class Jsp

  • java.lang.Object
    • org.springframework.boot.web.servlet.server.Jsp


  • public class Jsp
    extends java.lang.Object
    Configuration for the server's JSP servlet.
    Since:
    2.0.0
    • Constructor Summary

      Constructors 
      Constructor and Description
      Jsp() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getClassName()
      Return the class name of the servlet to use for JSPs.
      java.util.Map<java.lang.String,java.lang.String> getInitParameters()
      Return the init parameters used to configure the JSP servlet.
      boolean getRegistered()
      Return whether the JSP servlet is registered.
      void setClassName(java.lang.String className) 
      void setInitParameters(java.util.Map<java.lang.String,java.lang.String> initParameters) 
      void setRegistered(boolean registered) 
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Jsp

        public Jsp()
    • Method Detail

      • getClassName

        public java.lang.String getClassName()
        Return the class name of the servlet to use for JSPs. If registered is true and this class is on the classpath then it will be registered.
        Returns:
        the class name of the servlet to use for JSPs
      • setClassName

        public void setClassName(java.lang.String className)
      • getInitParameters

        public java.util.Map<java.lang.String,java.lang.String> getInitParameters()
        Return the init parameters used to configure the JSP servlet.
        Returns:
        the init parameters
      • setInitParameters

        public void setInitParameters(java.util.Map<java.lang.String,java.lang.String> initParameters)
      • getRegistered

        public boolean getRegistered()
        Return whether the JSP servlet is registered.
        Returns:
        true to register the JSP servlet
      • setRegistered

        public void setRegistered(boolean registered)