public short getRequstURIPath(String prefix, short defvalue) {
        String val = getRequstURIPath(prefix, null);
        try {
            return val == null ? defvalue : Short.parseShort(val);
        } catch (NumberFormatException e) {
            return defvalue;
        }
    }
public short getRequstURIPath ( String prefix , short defvalue ) { String val = getRequstURIPath ( prefix , null ) ; try { return val == null ? defvalue : Short . parseShort ( val ) ; } catch ( NumberFormatException e ) { return defvalue ; } }
获取请求URL分段中含prefix段的short值   <br>
例如请求URL /pipes/record/query/type:10   <br>
获取type参数: short type = request.getRequstURIPath("type:", (short)0);

@param prefix   prefix段前缀
@param defvalue 默认short值

@return short值