public abstract class ServletWrappingEndpoint extends Object implements org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.web.context.ServletContextAware, org.springframework.boot.actuate.endpoint.mvc.MvcEndpoint
| Modifier | Constructor and Description |
|---|---|
protected |
ServletWrappingEndpoint(Class<? extends javax.servlet.Servlet> servletClass,
String servletName,
String path,
boolean sensitive,
boolean enabled) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
org.springframework.web.servlet.mvc.ServletWrappingController |
getController() |
Class<? extends org.springframework.boot.actuate.endpoint.Endpoint<?>> |
getEndpointType() |
String |
getPath() |
org.springframework.web.servlet.ModelAndView |
handle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
boolean |
isEnabled() |
boolean |
isSensitive() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setServletContext(javax.servlet.ServletContext servletContext) |
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic void setServletContext(javax.servlet.ServletContext servletContext)
setServletContext in interface org.springframework.web.context.ServletContextAwarepublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansException@RequestMapping(value="**")
public org.springframework.web.servlet.ModelAndView handle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
Exceptionpublic boolean isEnabled()
public org.springframework.web.servlet.mvc.ServletWrappingController getController()
public String getPath()
getPath in interface org.springframework.boot.actuate.endpoint.mvc.MvcEndpointpublic boolean isSensitive()
isSensitive in interface org.springframework.boot.actuate.endpoint.mvc.MvcEndpointpublic Class<? extends org.springframework.boot.actuate.endpoint.Endpoint<?>> getEndpointType()
getEndpointType in interface org.springframework.boot.actuate.endpoint.mvc.MvcEndpointCopyright © 2018 Pivotal Software, Inc.. All rights reserved.