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, service
public 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.HttpServlet
javax.servlet.ServletException
IOException
Copyright © 2019 Eclipse JGit Project. All rights reserved.