Commit Graph

1122 Commits

Author SHA1 Message Date
Gary D. Gregory 89ae855bf9 Serializable classes do not declare serialVersionUID.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1725777 13f79535-47bb-0310-9956-ffa450edef68
2016-01-20 19:14:31 +00:00
Gary D. Gregory 5db1758215 Remove extra ;
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1725776 13f79535-47bb-0310-9956-ffa450edef68
2016-01-20 18:58:37 +00:00
Gary D. Gregory 02370fd56a Redundant super-interface Cookie for the type BasicClientCookie, already defined by SetCookie.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1725775 13f79535-47bb-0310-9956-ffa450edef68
2016-01-20 18:58:12 +00:00
Oleg Kalnichevski 7232ac3977 Set connection request and connect timeout to 3 minutes by default
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1725089 13f79535-47bb-0310-9956-ffa450edef68
2016-01-17 13:19:32 +00:00
Oleg Kalnichevski 7459a26370 Changed project groupId to org.apache.httpcomponents.core5; changed artifactIds to include major project version (httpclient -> httpclient5)
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1724989 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 15:16:44 +00:00
Oleg Kalnichevski fdfb2a894f Folded httpmime into httpclient proper
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1724977 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 14:08:13 +00:00
Oleg Kalnichevski 16812c91a3 Moved blocking i/o specific classes to separate packages; optimized package structure
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1724967 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 12:58:34 +00:00
Oleg Kalnichevski dc86ba043d Moved code to org.apache.hc.client5 namespace
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1724949 13f79535-47bb-0310-9956-ffa450edef68
2016-01-16 10:33:24 +00:00
Oleg Kalnichevski a4cd379311 HTTPCLIENT-1712: SPNego schemes to take service scheme into account when generating auth token
Contributed by Georg Romstorfer <georg.romstorfer at gmail.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1724851 13f79535-47bb-0310-9956-ffa450edef68
2016-01-15 16:37:48 +00:00
Oleg Kalnichevski 9465651937 Added #resolveCanonicalHostname to DnsResolver; GGS schemes to use DnsResolver when resolving to canonical hostname
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1724610 13f79535-47bb-0310-9956-ffa450edef68
2016-01-14 13:49:23 +00:00
Oleg Kalnichevski f68bde1394 Use CharSequence instead of CharArrayBuffer
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1724609 13f79535-47bb-0310-9956-ffa450edef68
2016-01-14 13:49:09 +00:00
Oleg Kalnichevski af8e59b6ea Added #getCreationDate method to Cookie interface
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1724317 13f79535-47bb-0310-9956-ffa450edef68
2016-01-12 20:44:31 +00:00
Oleg Kalnichevski 8dedfb3aa4 HTTPCLIENT-1575: route target port must be non negative
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1724316 13f79535-47bb-0310-9956-ffa450edef68
2016-01-12 20:44:19 +00:00
Oleg Kalnichevski 1f8fe36da1 Upgraded HttpCore to version 5.0-alpha1
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1724315 13f79535-47bb-0310-9956-ffa450edef68
2016-01-12 20:43:36 +00:00
Oleg Kalnichevski be46d7fd93 Set socker buffer send/receive sizes from SocketConfig
Contributed by  Will Vuong <wvuong at chariotsolutions.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1720387 13f79535-47bb-0310-9956-ffa450edef68
2015-12-16 16:19:32 +00:00
Oleg Kalnichevski 663560b254 HTTPCLIENT-1704: IgnoreSpec#match to always return false
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1719951 13f79535-47bb-0310-9956-ffa450edef68
2015-12-14 16:27:45 +00:00
Gary D. Gregory 3e8ed5a22a Reduce use of magic number 200 (Use HttpStatus.SC_OK)
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1719228 13f79535-47bb-0310-9956-ffa450edef68
2015-12-10 22:51:04 +00:00
Oleg Kalnichevski fb22d8ff72 HTTPCLIENT-1550: fixed 'deflate' zlib header check
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1717324 13f79535-47bb-0310-9956-ffa450edef68
2015-11-30 20:36:42 +00:00
Oleg Kalnichevski df4e36c3fb HTTPCLIENT-1698: Fixed matching of IPv6 addresses by DefaultHostnameVerifier
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1716971 13f79535-47bb-0310-9956-ffa450edef68
2015-11-28 13:25:27 +00:00
Oleg Kalnichevski 3297b7a9f3 HTTPCLIENT-1695: RFC 6265 compliant cookie spec to ignore cookies with empty name / missing value
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1714368 13f79535-47bb-0310-9956-ffa450edef68
2015-11-14 20:48:26 +00:00
Oleg Kalnichevski 70e603f819 Code cleanup
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1713455 13f79535-47bb-0310-9956-ffa450edef68
2015-11-09 15:08:20 +00:00
Oleg Kalnichevski 6ab2c32970 HTTPCLIENT-1216: removed ThreadLocal subclass from DateUtils
Contributed by Jochen Kemnade <jochen.kemnade at eddyson.de>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1713430 13f79535-47bb-0310-9956-ffa450edef68
2015-11-09 13:20:47 +00:00
Oleg Kalnichevski e7d625f604 HTTPCLIENT-1685: PublicSuffixDomainFilter to ignore local hosts and local domains
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1706584 13f79535-47bb-0310-9956-ffa450edef68
2015-10-03 13:46:19 +00:00
Oleg Kalnichevski da125f2d4d Log socket timeout values
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1701259 13f79535-47bb-0310-9956-ffa450edef68
2015-09-04 13:49:19 +00:00
Gary D. Gregory 0a774df3c6 Add missing groupId.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1698059 13f79535-47bb-0310-9956-ffa450edef68
2015-08-27 04:21:58 +00:00
Gary D. Gregory 8378e1b644 Unnecessary semicolon.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1698020 13f79535-47bb-0310-9956-ffa450edef68
2015-08-26 22:09:04 +00:00
Michael Osipov 8c17af907a HTTPCLIENT-1106: Use character arrays for passwords in Credentials objects, not Strings
Remove leftovers of contructors and tests accepting passwords as strings

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1696585 13f79535-47bb-0310-9956-ffa450edef68
2015-08-19 13:29:56 +00:00
Michael Osipov b1f2b6825a Properly name instance and method variables of AuthExchange
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1695265 13f79535-47bb-0310-9956-ffa450edef68
2015-08-11 11:27:04 +00:00
Michael Osipov fcaa920b93 Correct spelling of method 'getPrincipal' newly introduced in AuthScheme interface
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1695237 13f79535-47bb-0310-9956-ffa450edef68
2015-08-11 09:58:58 +00:00
Oleg Kalnichevski 2e080356cd HTTPCLIENT-1106: Use character arrays for passwords in Credentials objects
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1695157 13f79535-47bb-0310-9956-ffa450edef68
2015-08-10 19:44:35 +00:00
Oleg Kalnichevski d09ae9707d ByteArrayBuilder class to build byte sequences; BasicScheme and DigestScheme optimized to generate less intermediate garbage
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1695156 13f79535-47bb-0310-9956-ffa450edef68
2015-08-10 19:44:09 +00:00
Oleg Kalnichevski e52e269dc8 HTTPCLIENT-1671: default headers should only be set if a header with the same name hasn't already been set
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1695155 13f79535-47bb-0310-9956-ffa450edef68
2015-08-10 19:43:53 +00:00
Oleg Kalnichevski 51111452a7 Minor tweaks in sample code
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1694784 13f79535-47bb-0310-9956-ffa450edef68
2015-08-08 10:03:33 +00:00
Oleg Kalnichevski 4ae3226885 Cache successful basic and digest auth schemes by default
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1694623 13f79535-47bb-0310-9956-ffa450edef68
2015-08-07 07:35:09 +00:00
Oleg Kalnichevski 3b905dc69c Include scheme name in #toString()
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1694622 13f79535-47bb-0310-9956-ffa450edef68
2015-08-07 07:34:58 +00:00
Oleg Kalnichevski 50379ccbc1 Use httpbin.org in examples
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1694621 13f79535-47bb-0310-9956-ffa450edef68
2015-08-07 07:34:46 +00:00
Oleg Kalnichevski 697ccb314e Support for auth exchanges with multiple hosts
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1694620 13f79535-47bb-0310-9956-ffa450edef68
2015-08-07 07:34:13 +00:00
Oleg Kalnichevski 695d0028fe Redesigned auth handshake state management
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1694619 13f79535-47bb-0310-9956-ffa450edef68
2015-08-07 07:33:52 +00:00
Oleg Kalnichevski 58973ffa45 HTTPCLIENT-1667: RequestBuilder does not take charset into account when creating UrlEncodedFormEntity
Contributed by Sergey Smith <smithsv at bk.ru>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1692403 13f79535-47bb-0310-9956-ffa450edef68
2015-07-23 15:25:38 +00:00
Oleg Kalnichevski d3bcbedec7 AuthScheme API changes; User credentials made optional for those schemes that do not require them
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1692371 13f79535-47bb-0310-9956-ffa450edef68
2015-07-23 10:00:46 +00:00
Oleg Kalnichevski e7190e7177 Better separations of concerns: AuthenticationStrategy is intended to select preferred auth schemes without performing actual authentication; auth handling code moved to HttpAuthenticator
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1692370 13f79535-47bb-0310-9956-ffa450edef68
2015-07-23 10:00:13 +00:00
Oleg Kalnichevski b2a7cb9f10 HttpAuthenticator API changes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1692369 13f79535-47bb-0310-9956-ffa450edef68
2015-07-23 09:59:37 +00:00
Oleg Kalnichevski 3dbafa37aa HTTPCLIENT-1468: Remove unneccessary throws UnsupportedEncodingException
Contributed by Robin Skoglund <robinsk at gmail.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1689159 13f79535-47bb-0310-9956-ffa450edef68
2015-07-04 13:53:36 +00:00
Oleg Kalnichevski fe175a845a Removed AUTH and SM classes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1689156 13f79535-47bb-0310-9956-ffa450edef68
2015-07-04 13:43:20 +00:00
Oleg Kalnichevski 2f66271de9 RFC 7231: redesign of HTTP authenticator and related classes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1689155 13f79535-47bb-0310-9956-ffa450edef68
2015-07-04 13:42:40 +00:00
Oleg Kalnichevski 11612ab974 RFC 7231: parse capable of parsing multiple auth challenges
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1687909 13f79535-47bb-0310-9956-ffa450edef68
2015-06-27 10:50:53 +00:00
Oleg Kalnichevski fb56b49465 Redesign of CredentialsProvider interface
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1687908 13f79535-47bb-0310-9956-ffa450edef68
2015-06-27 10:50:38 +00:00
Oleg Kalnichevski d5c520a8e1 RFC 7231: DefaultServiceUnavailableRetryStrategy to take Retry-After header value into account if specified
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1687907 13f79535-47bb-0310-9956-ffa450edef68
2015-06-27 10:50:12 +00:00
Karl Wright 724a33a1a1 Tentative fix for HTTPCLIENT-1662. Allow more than one way to construct a complete NTCredential object.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1687319 13f79535-47bb-0310-9956-ffa450edef68
2015-06-24 16:05:53 +00:00
Oleg Kalnichevski 777f6ead46 RFC 7231: removed restriction on the use of relative URIs in Location header
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1686699 13f79535-47bb-0310-9956-ffa450edef68
2015-06-21 10:44:31 +00:00