public class ErrorCodeServlet extends HttpServlet
Constructor and Description |
---|
ErrorCodeServlet(int code,
String message) |
Modifier and Type | Method and Description |
---|---|
protected void |
service(HttpServletRequest req,
HttpServletResponse resp) |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
public ErrorCodeServlet(int code, String message)
protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException
service
in class HttpServlet
ServletException
IOException
Copyright © 2003–2015 The Apache Software Foundation. All rights reserved.