code: @Override
    public void doPost(HttpServletRequest req, HttpServletResponse resp) throws IOException {
      try {
        MapReduceServletImpl.doPost(req, resp);
      } catch (RejectRequestException e) {
        handleRejectedRequest(resp, e);
      }
    }
docs: See rfc6585