public class ErrorServlet
extends javax.servlet.http.HttpServlet
| Constructor and Description |
|---|
ErrorServlet(int status)
Sends a specific status code.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse rsp) |
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, servicepublic ErrorServlet(int status)
status - the HTTP status code to always send.protected void doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse rsp)
throws javax.servlet.ServletException,
IOException
doGet in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionCopyright © 2019 Eclipse JGit Project. All rights reserved.