public HttpRequestBuilder addHeader ( String name , String value ) { reqHeaders . put ( name , value ) ; entry . withRequestHeader ( name , value ) ; return this ; }
Add a header to the request . Note the content type will be set automatically when providing the content payload and should not be set here .