add a custom header . concode_field_sep Map<String,List<String>> customHeaders concode_field_sep Map<String,List<String>> getHeaders concode_elem_sep void copyHeaders concode_elem_sep String contentType concode_elem_sep BytesReference content concode_elem_sep RestStatus status
void function ( String arg0 , String arg1 ) { if ( customHeaders == null ) { customHeaders = new HashMap < > ( 2 ) ; } List < String > loc0 = customHeaders . get ( arg0 ) ; if ( loc0 == null ) { loc0 = new ArrayList < > ( ) ; customHeaders . put ( arg0 , loc0 ) ; } loc0 . add ( arg1 ) ; }