add httprequest in java