public String getParams() {
        if (parsedParams) {
            return params;
        }
        String path = getPath();
        if (path == null) return null;

        int semicolonPos = path.indexOf(";");
        String params;
        if (semicolonPos < 0) {
            //there is no semicolon, there are no params here
            params = null;
        } else if (semicolonPos == path.length() - 1) {
            //the semicolon is the last character, there are no params here
            params = null;
        } else {
            params = path.substring(semicolonPos + 1);
        }
        this.parsedParams = true;
        this.params = params;
        return params;
    }
Returns the <i>rest</i> of this uri, that is what is following the host or port.
This is path, query and fragment as defined in RFC 2396. Returns an empty string
if this uri has no rest.
vespajlib/src/main/java/com/yahoo/net/URI.java