private HttpPost preparePost ( final String url ) { final HttpPost httpPost = new HttpPost ( this . instanceUrl + url ) ; for ( final Header header : this . headers ) { httpPost . addHeader ( header ) ; } return httpPost ; }
Creates a HttpPost request with all the common headers .