/** * Services a HTTP Servlet request as an uniform call. * * @param request * The HTTP Servlet request. * @param response * The HTTP Servlet response. */ @Override public void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { final HttpServerHelper helper = getServer(request); if (helper != null) { helper.handle(createCall(helper.getHelped(), request, response)); } else { log("[Noelios Restlet Engine] - Unable to get the Restlet HTTP server connector. Status code 500 returned."); response.sendError(500); } } }