* @param authenticator
* HTTP Authenticator
*/
public static void execHttpPost(String url, String contentType, InputStream input, long length, String acceptType,
HttpResponseHandler handler, HttpClient httpClient, HttpContext httpContext, HttpAuthenticator authenticator) {
InputStreamEntity e = new InputStreamEntity(input, length);
e.setContentType(contentType);
e.setContentEncoding("UTF-8");
try {
execHttpPost(url, e, acceptType, handler, httpClient, httpContext, authenticator);
} finally {
closeEntity(e);
}