From 9fd38cf138f0661990c4f542795beac618942c41 Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Sat, 17 Dec 2011 15:16:00 -0500 Subject: [PATCH] Implemented UserServiceWrapper. Renamed notifyNNN to sendEmail to be more descriptive. --- src/com/gitblit/JsonServlet.java | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/com/gitblit/JsonServlet.java b/src/com/gitblit/JsonServlet.java index a795896..5433a61 100644 --- a/src/com/gitblit/JsonServlet.java +++ b/src/com/gitblit/JsonServlet.java @@ -41,6 +41,12 @@ 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() { -- Gitblit v1.9.1