question: @ Override public String toString ( ) { StringBuffer sb = new StringBuffer ( ) ; sb . append ( type ) ; sb . append ( "/" ) ; sb . append ( subType ) ; for ( String name : attributes . keySet ( ) ) { if ( inferredCharset && ATTR_CHARSET . equals ( name ) ) { continue ; } sb . append ( ";" ) ; sb . append ( name ) ; sb . append ( "=" ) ; String value = attributes . get ( name ) ; Matcher tokenMatcher = TOKEN_PATTERN . matcher ( value ) ; if ( tokenMatcher . matches ( ) ) { sb . append ( value ) ; } else { sb . append ( "\"" + value + "\"" ) ; } } return sb . toString ( ) ; }
target:  Generates the Content-Type value