code: private boolean checkAndRespond(Request request) {
          if (!URIBean.checkUri(request.getUrl())) {
              ServerResponseBean responseBean = new ServerResponseBean();
              responseBean.setMsgId(request.getMsgId());
              responseBean.setHttpContentType(HttpContentType.APPLICATION_JSON);
              responseBean.setResponseBody(UnitResponse.createError(Group.CODE_BAD_REQUEST, null, String.format("URI %s is illegal.", request.getUrl()))
                      .toVoJSONString());
              IServerResponder.singleton.response(responseBean);
              return false;
          }
          return true;
      }
docs: Check the request and respond a bad request response if checking is not passed.
  
  @param request the request to be checked.
  @return true if checking passed