类 ManagementServerProperties.Servlet
- java.lang.Object
- org.springframework.boot.actuate.autoconfigure.web.server.ManagementServerProperties.Servlet
public static class ManagementServerProperties.Servlet extends Object
Servlet properties.
构造器概要
构造器 构造器 说明 Servlet()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 String
getContextPath()
Return the context path with no trailing slash (i.e. the '/' root context is represented as the empty string).void
setContextPath(String contextPath)
构造器详细资料
Servlet
public Servlet()
方法详细资料
getContextPath
public String getContextPath()
Return the context path with no trailing slash (i.e. the '/' root context is represented as the empty string).- 返回:
- the context path (no trailing slash)
setContextPath
public void setContextPath(String contextPath)