public static String formURLEncodeMap ( Map < String , String > map ) { Preconditions . checkNotNull ( map , "Cannot url-encode a null object" ) ; return ( map . size ( ) <= 0 ) ? EMPTY_STRING : doFormUrlEncode ( map ) ; }
Turns a map into a form - urlencoded string