boolean isChunking,
int chunkThreshold) throws IOException;
private HttpAuthSupplier createAuthSupplier(String authType) {
if (HttpAuthHeader.AUTH_TYPE_NEGOTIATE.equals(authType)) {
return new SpnegoAuthSupplier();
} else if (HttpAuthHeader.AUTH_TYPE_DIGEST.equals(authType)) {
return new DigestAuthSupplier();
} else {
return new DefaultBasicAuthSupplier();
}