org.springframework.boot.web.servlet.server

Class Jsp



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

      • Jsp

        public Jsp()
    • Method Detail

      • 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)

Copyright © 2020 Pivotal Software, Inc.. All rights reserved.