summaryrefslogtreecommitdiffstats
path: root/src/com/gitblit/JsonServlet.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/gitblit/JsonServlet.java')
-rw-r--r--src/com/gitblit/JsonServlet.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/com/gitblit/JsonServlet.java b/src/com/gitblit/JsonServlet.java
index a7958969..5433a61c 100644
--- a/src/com/gitblit/JsonServlet.java
+++ b/src/com/gitblit/JsonServlet.java
@@ -41,6 +41,12 @@ public abstract class JsonServlet extends HttpServlet {
private static final long serialVersionUID = 1L;
+ protected final int forbiddenCode = HttpServletResponse.SC_FORBIDDEN;
+
+ protected final int notAllowedCode = HttpServletResponse.SC_METHOD_NOT_ALLOWED;
+
+ protected final int failureCode = HttpServletResponse.SC_INTERNAL_SERVER_ERROR;
+
protected final Logger logger;
public JsonServlet() {