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