java.lang.Object
org.springframework.boot.web.servlet.server.Jsp
Configuration for the server's JSP servlet.
- 从以下版本开始:
- 2.0.0
- 作者:
- Andy Wilkinson, Stephane Nicoll
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Return the class name of the servlet to use for JSPs.Return the init parameters used to configure the JSP servlet.booleanReturn whether the JSP servlet is registered.voidsetClassName(String className) voidsetInitParameters(Map<String, String> initParameters) voidsetRegistered(boolean registered)
-
构造器详细资料
-
Jsp
public Jsp()
-
-
方法详细资料
-
getClassName
Return the class name of the servlet to use for JSPs. Ifregisteredistrueand this class is on the classpath then it will be registered.- 返回:
- the class name of the servlet to use for JSPs
-
setClassName
-
getInitParameters
Return the init parameters used to configure the JSP servlet.- 返回:
- the init parameters
-
setInitParameters
-
getRegistered
public boolean getRegistered()Return whether the JSP servlet is registered.- 返回:
trueto register the JSP servlet
-
setRegistered
public void setRegistered(boolean registered)
-