code: private void handleWithDelegate(final HttpServletRequest request, final HttpServletResponse response) throws IOException {
          //Delegate to handler
          boolean foundHandler = REST_HANDLER_CONTAINER.handleRequest(new ServletRESTRequestImpl(request), new ServletRESTResponseImpl(response));
          //RESTHandler handler = REST_HANDLER_CONTAINER.getHandler(pathInfo);
          if (!foundHandler) {
              //No handler found, so we send back a 404 "not found" response.
              String errorMsg = Tr.formatMessage(tc, "HANDLER_NOT_FOUND_ERROR", request.getRequestURI());
              response.sendError(HttpServletResponse.SC_NOT_FOUND, errorMsg);
          }
      }
docs: For any request URL other than the context root, delegate to the
  appropriate handler. If no handler is available, a 404 will be set
  into the response.
  
  @param request
  @param response
  @param pathInfo
  @throws IOException