question: public static String serializeDigestResponse ( Map < String , String > paramMap ) { StringBuilder sb = new StringBuilder ( "Digest " ) ; boolean prefixComma = false ; for ( Map . Entry < String , String > entry : paramMap . entrySet ( ) ) { if ( ! prefixComma ) { prefixComma = true ; } else { sb . append ( ", " ) ; } sb . append ( entry . getKey ( ) ) ; sb . append ( "=" ) ; sb . append ( entry . getValue ( ) ) ; } return sb . toString ( ) ; }
target:  Serialize a parameter map into a digest response. This is used as the "Authorization" header in the request. All parameters in the supplied map will be added to the header.