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.InitializingBean
Exception
public void setServletContext(javax.servlet.ServletContext servletContext)
setServletContext
in interface org.springframework.web.context.ServletContextAware
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
@RequestMapping(value="**") public org.springframework.web.servlet.ModelAndView handle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exception
public boolean isEnabled()
public org.springframework.web.servlet.mvc.ServletWrappingController getController()
public String getPath()
getPath
in interface org.springframework.boot.actuate.endpoint.mvc.MvcEndpoint
public boolean isSensitive()
isSensitive
in interface org.springframework.boot.actuate.endpoint.mvc.MvcEndpoint
public Class<? extends org.springframework.boot.actuate.endpoint.Endpoint<?>> getEndpointType()
getEndpointType
in interface org.springframework.boot.actuate.endpoint.mvc.MvcEndpoint
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.