public static List < NameValuePair > buildNameValuePareList ( Map < String , String > keyValueMap ) { return keyValueMap . entrySet ( ) . stream ( ) . map ( entry -> new BasicNameValuePair ( entry . getKey ( ) , entry . getValue ( ) ) ) . collect ( toList ( ) ) ; }
Build name value pare list list .