public static HttpClient httpClient(LaunchConfig launchConfig) {
return new DefaultHttpClient(launchConfig.getExecController(), launchConfig.getBufferAllocator(), launchConfig.getMaxContentLength());
}
public static HttpClient httpClient(ExecController execController, ByteBufAllocator byteBufAllocator, int maxContentLengthBytes) {
return new DefaultHttpClient(execController, byteBufAllocator, maxContentLengthBytes);
}