code: public long getRequstURILastPath(long defvalue) {
          String val = getRequstURILastPath();
          try {
              return val.isEmpty() ? defvalue : Long.parseLong(val);
          } catch (NumberFormatException e) {
              return defvalue;
          }
      }
docs: 获取请求URL最后的一个/后面的部分的int值   <br>
  例如请求URL /pipes/record/query/2   <br>
  获取type参数: long type = request.getRequstURILastPath(0L); //type = 2
  
  @param defvalue 默认long值
  
  @return long值