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

public class Jsp extends Object
Configuration for the server's JSP servlet.
Since:
2.0.0
Author:
Andy Wilkinson, Stephane Nicoll
  • Constructor Details

    • Jsp

      public Jsp()
  • Method Details

    • getClassName

      public 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(String className)
    • getInitParameters

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

      public void setInitParameters(Map<String,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)