webster-core/src/main/java/webster/spark/Spark.java
public static Map<String, String> getParams(List<String> request, List<String> matched) {
        Map<String, String> params = new HashMap<>();

        for (int i = 0; (i < request.size()) && (i < matched.size()); i++) {
            String matchedPart = matched.get(i);
            if (SparkUtils.isParam(matchedPart)) {
                params.put(matchedPart.toLowerCase(), request.get(i));
            }
        }
        return Collections.unmodifiableMap(params);
    }
public static Map<String, String> getParams(List<String> request, List<String> matched) {
        Map<String, String> params = new HashMap<>();

        for (int i = 0; (i < request.size()) && (i < matched.size()); i++) {
            String matchedPart = matched.get(i);
            if (SparkUtils.isParam(matchedPart)) {
                params.put(matchedPart.toLowerCase(), request.get(i));
            }
        }
        return Collections.unmodifiableMap(params);
    }
public static Map < String , String > getParams ( List < String > request , List < String > matched ) { Map < String , String > params = new HashMap <> ( ) ; for ( int i = 0 ; ( i < request . size ( ) ) && ( i < matched . size ( ) ) ; i ++ ) { String matchedPart = matched . get ( i ) ; if ( SparkUtils . isParam ( matchedPart ) ) { params . put ( matchedPart . toLowerCase ( ) , request . get ( i ) ) ; } } return Collections . unmodifiableMap ( params ) ; }
taken from spark (https://github.com/perwendel/spark)
taken from spark ( https : // github . com / perwendel / spark )