goja-web/src/main/java/goja/mvc/kits/Servlets.java
public static String encodeParameterStringWithPrefix(Map<String, Object> params, String prefix) {
        if ((params == null) || (params.size() == 0)) {
            return "";
        }

        if (prefix == null) {
            prefix = "";
        }

        StringBuilder queryStringBuilder = new StringBuilder();
        Iterator<Map.Entry<String, Object>> it = params.entrySet().iterator();
        while (it.hasNext()) {
            Map.Entry<String, Object> entry = it.next();
            queryStringBuilder.append(prefix).append(entry.getKey()).append('=').append(entry.getValue());
            if (it.hasNext()) {
                queryStringBuilder.append('&');
            }
        }
        return queryStringBuilder.toString();
    }
public static String encodeParameterStringWithPrefix(Map<String, Object> params, String prefix) {
        if ((params == null) || (params.size() == 0)) {
            return "";
        }

        if (prefix == null) {
            prefix = "";
        }

        StringBuilder queryStringBuilder = new StringBuilder();
        Iterator<Map.Entry<String, Object>> it = params.entrySet().iterator();
        while (it.hasNext()) {
            Map.Entry<String, Object> entry = it.next();
            queryStringBuilder.append(prefix).append(entry.getKey()).append('=').append(entry.getValue());
            if (it.hasNext()) {
                queryStringBuilder.append('&');
            }
        }
        return queryStringBuilder.toString();
    }
public static String encodeParameterStringWithPrefix ( Map < String , Object > params , String prefix ) { if ( ( params == null ) || ( params . size ( ) == 0 ) ) { return "" ; } if ( prefix == null ) { prefix = "" ; } StringBuilder queryStringBuilder = new StringBuilder ( ) ; Iterator < Map . Entry < String , Object > > it = params . entrySet ( ) . iterator ( ) ; while ( it . hasNext ( ) ) { Map . Entry < String , Object > entry = it . next ( ) ; queryStringBuilder . append ( prefix ) . append ( entry . getKey ( ) ) . append ( ' ' ) . append ( entry . getValue ( ) ) ; if ( it . hasNext ( ) ) { queryStringBuilder . append ( ' ' ) ; } } return queryStringBuilder . toString ( ) ; }
组合Parameters生成Query String的Parameter部分, 并在paramter name上加上prefix.

@see #getParametersStartingWith
组合Parameters生成Query String的Parameter部分 并在paramter name上加上prefix .