public HttpClient setHeader ( String name , Object value ) { if ( mHeaders == null ) { mHeaders = new HttpHeaderMap ( ) ; } mHeaders . put ( name , value ) ; return this ; }
Set a header name - value pair to the request .