Class Jsp
java.lang.Object
org.springframework.boot.web.servlet.server.Jsp
Configuration for the server's JSP servlet.
- Since:
- 2.0.0
- Author:
- Andy Wilkinson, Stephane Nicoll
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn the class name of the servlet to use for JSPs.Return the init parameters used to configure the JSP servlet.boolean
Return whether the JSP servlet is registered.void
setClassName
(String className) void
setInitParameters
(Map<String, String> initParameters) void
setRegistered
(boolean registered)
-
Constructor Details
-
Jsp
public Jsp()
-
-
Method Details
-
getClassName
Return the class name of the servlet to use for JSPs. Ifregistered
istrue
and this class is on the classpath then it will be registered.- Returns:
- the class name of the servlet to use for JSPs
-
setClassName
-
getInitParameters
Return the init parameters used to configure the JSP servlet.- Returns:
- the init parameters
-
setInitParameters
-
getRegistered
public boolean getRegistered()Return whether the JSP servlet is registered.- Returns:
true
to register the JSP servlet
-
setRegistered
public void setRegistered(boolean registered)
-