public class ProfilerServlet extends HttpServlet
Constructor and Description |
---|
ProfilerServlet() |
Modifier and Type | Method and Description |
---|---|
ProfilerManager |
createProfiler() |
protected void |
doGet(HttpServletRequest req,
HttpServletResponse res)
Process a GET or HEAD request
|
protected void |
doPost(HttpServletRequest req,
HttpServletResponse res)
Process a POST request
|
protected void |
handleRequest(HttpServletRequest request,
HttpServletResponse response) |
protected void |
handleResponse(HttpServletRequest request,
HttpServletResponse response) |
void |
init()
Initialize the servlet.
|
protected void |
writeHtml(HttpServletRequest request,
HttpServletResponse response) |
protected void |
writeXml(HttpServletRequest request,
HttpServletResponse response) |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log, toString
public ProfilerManager createProfiler()
public void init()
GenericServlet
init
in class GenericServlet
protected void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, java.io.IOException
HttpServlet
doGet
in class HttpServlet
req
- the client requestres
- response to the clientServletException
java.io.IOException
protected void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, java.io.IOException
HttpServlet
doPost
in class HttpServlet
req
- the client requestres
- response to the clientServletException
java.io.IOException
protected void handleRequest(HttpServletRequest request, HttpServletResponse response) throws ServletException, java.io.IOException
ServletException
java.io.IOException
protected void handleResponse(HttpServletRequest request, HttpServletResponse response) throws ServletException, java.io.IOException
ServletException
java.io.IOException
protected void writeHtml(HttpServletRequest request, HttpServletResponse response) throws ServletException, java.io.IOException
ServletException
java.io.IOException
protected void writeXml(HttpServletRequest request, HttpServletResponse response) throws ServletException, java.io.IOException
ServletException
java.io.IOException