}
@Override
public void createBatchQuery(String jobId, String soqlQuery, ContentType jobContentType,
final BatchInfoResponseCallback callback) {
final ContentExchange post = getContentExchange(HttpMethods.POST, batchUrl(jobId, null));
byte[] queryBytes = soqlQuery.getBytes(StringUtil.__UTF8_CHARSET);
post.setRequestContent(new ByteArrayBuffer(queryBytes));
post.setRequestContentType(getContentType(jobContentType) + ";charset=" + StringUtil.__UTF8);
// make the call and parse the result
doHttpRequest(post, new ClientResponseCallback() {
@Override
public void onResponse(InputStream response, SalesforceException ex) {