@@ -10,28 +10,39 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of
1010
1111package microsoft .exchange .webservices .data ;
1212
13+ import java .io .BufferedInputStream ;
14+ import java .io .ByteArrayOutputStream ;
15+ import java .io .IOException ;
16+ import java .io .InputStream ;
17+ import java .io .OutputStream ;
18+ import java .util .ArrayList ;
19+ import java .util .HashMap ;
20+ import java .util .List ;
21+ import java .util .Map ;
22+ import java .util .concurrent .ExecutorService ;
23+
24+ import javax .net .ssl .TrustManager ;
25+
1326import org .apache .http .Header ;
1427import org .apache .http .HttpHost ;
1528import org .apache .http .HttpResponse ;
1629import org .apache .http .auth .AuthScope ;
1730import org .apache .http .auth .NTCredentials ;
1831import org .apache .http .client .CookieStore ;
1932import org .apache .http .client .CredentialsProvider ;
33+ import org .apache .http .client .config .AuthSchemes ;
2034import org .apache .http .client .config .RequestConfig ;
2135import org .apache .http .client .methods .HttpPost ;
2236import org .apache .http .config .SocketConfig ;
2337import org .apache .http .conn .HttpClientConnectionManager ;
2438import org .apache .http .cookie .Cookie ;
25- import org .apache .http .impl .client .*;
39+ import org .apache .http .impl .client .BasicCookieStore ;
40+ import org .apache .http .impl .client .BasicCredentialsProvider ;
41+ import org .apache .http .impl .client .CloseableHttpClient ;
42+ import org .apache .http .impl .client .HttpClientBuilder ;
43+ import org .apache .http .impl .client .HttpClients ;
2644import org .apache .http .impl .conn .DefaultSchemePortResolver ;
2745
28- import javax .net .ssl .TrustManager ;
29- import java .io .*;
30- import java .util .HashMap ;
31- import java .util .List ;
32- import java .util .Map ;
33- import java .util .concurrent .ExecutorService ;
34-
3546
3647/**
3748 * HttpClientWebRequest is used for making request to the server through
0 commit comments