@ManagedObject(value="Ping Servlet") public class PingServlet extends HttpServlet
Constructor and Description |
---|
PingServlet() |
Modifier and Type | Method and Description |
---|---|
protected void |
doGet(HttpServletRequest req,
HttpServletResponse resp) |
void |
init(ServletConfig config) |
String |
ping() |
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
public void init(ServletConfig config) throws ServletException
init
in interface Servlet
init
in class GenericServlet
ServletException
protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException
doGet
in class HttpServlet
ServletException
IOException
@ManagedOperation public String ping()
Copyright © 1995–2017 Webtide. All rights reserved.