* if writing the response back to the client fails
*/
protected void serviceResource(final HttpServletRequest request,
final HttpServletResponse response) throws ServletException, IOException {
Http11ResponseType responseType = null;
String requestPath = request.getPathInfo();
// There is also a special set of resources that we don't want to expose
if (isProtected(requestPath)) {
response.sendError(HttpServletResponse.SC_FORBIDDEN);