类 LiveBeansViewServlet
- java.lang.Object
- javax.servlet.GenericServlet
- javax.servlet.http.HttpServlet
- org.springframework.web.context.support.LiveBeansViewServlet
- 所有已实现的接口:
Serializable
,Servlet
,ServletConfig
public class LiveBeansViewServlet extends HttpServlet
Servlet variant ofLiveBeansView
's MBean exposure.Generates a JSON snapshot for current beans and their dependencies in all ApplicationContexts that live within the current web application.
- 从以下版本开始:
- 3.2
- 作者:
- Juergen Hoeller
- 另请参阅:
LiveBeansView.getSnapshotAsJson()
, 序列化表格
构造器概要
构造器 构造器 说明 LiveBeansViewServlet()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected LiveBeansView
buildLiveBeansView()
protected void
doGet(HttpServletRequest request, HttpServletResponse response)
void
init()
从类继承的方法 javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
从类继承的方法 javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
构造器详细资料
LiveBeansViewServlet
public LiveBeansViewServlet()
方法详细资料
init
public void init() throws ServletException
- 覆盖:
init
在类中GenericServlet
- 抛出:
ServletException
buildLiveBeansView
protected LiveBeansView buildLiveBeansView()
doGet
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
- 覆盖:
doGet
在类中HttpServlet
- 抛出:
ServletException
IOException