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, servicedestroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, logpublic ErrorCodeServlet(int code, String message)
protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException
service in class HttpServletServletExceptionIOExceptionCopyright © 2003–2013 The Apache Software Foundation. All rights reserved.