private void setHeaderList ( Map < String , List < String > > headers , String name , String value ) { List < String > values = new ArrayList < String > ( ) ; values . add ( SET_HEADER + value ) ; headers . put ( name , values ) ; }
Helper method to set a value in the internal header list .