code: public int getRequstURIPath(String prefix, int defvalue) {
          String val = getRequstURIPath(prefix, null);
          try {
              return val == null ? defvalue : Integer.parseInt(val);
          } catch (NumberFormatException e) {
              return defvalue;
          }
      }
docs: 获取请求URL分段中含prefix段的int值  <br>
  例如请求URL /pipes/record/query/offset:0/limit:50   <br>
  获取offset参数: int offset = request.getRequstURIPath("offset:", 0);   <br>
  获取limit参数: int limit = request.getRequstURIPath("limit:", 20);  <br>
  
  @param prefix   prefix段前缀
  @param defvalue 默认int值
  
  @return int值