1.6.0.2 HttpClient support for upload of binary payload
Http Client got new methods that allow uploading binary payload. There are 4 new methods that allow upload of binary payload and receive text/binary response. Below is the list of the new methods:
public java.lang.String sendHttpRequest(HttpClient.HttpMethod callMethod,
java.nio.ByteBuffer data)
throws java.io.IOException
public java.lang.String sendHttpRequest(java.lang.String requestUrl,
HttpClient.HttpMethod callMethod,
java.nio.ByteBuffer data)
throws java.io.IOException
public java.nio.ByteBuffer sendHttpRequestForBinaryResponse(HttpClient.HttpMethod callMethod,
java.nio.ByteBuffer data)
throws java.io.IOException
public java.nio.ByteBuffer sendHttpRequestForBinaryResponse(java.lang.String requestUrl,
HttpClient.HttpMethod callMethod,
java.nio.ByteBuffer data)
throws java.io.IOException