Commit Graph

771 Commits

Author SHA1 Message Date
Gary D. Gregory 70e8b48473 Javadoc: TLA should be upper-case.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1489243 13f79535-47bb-0310-9956-ffa450edef68
2013-06-04 00:19:25 +00:00
Gary D. Gregory 2fba1839de Match this kind of param name to the other methods in this class (encoding -> charset).
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1489242 13f79535-47bb-0310-9956-ffa450edef68
2013-06-04 00:18:35 +00:00
Gary D. Gregory 664a273374 Use camel-case for method names (example: urldecode -> urlDecode).
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1489240 13f79535-47bb-0310-9956-ffa450edef68
2013-06-04 00:16:28 +00:00
Oleg Kalnichevski bcabf224b8 Removed 'http.socket-factory-registry' context attribute from public APIs
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1488984 13f79535-47bb-0310-9956-ffa450edef68
2013-06-03 13:16:35 +00:00
Oleg Kalnichevski e34e868ddc HTTPCLIENT-1362: better error messages for connect timed out and connection refused exceptions
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1488966 13f79535-47bb-0310-9956-ffa450edef68
2013-06-03 11:52:17 +00:00
Karl Wright f0f2c89ffb Fix for HTTPCLIENT-1360. Separate out DeflateInputStream class from DeflateEntity.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1487630 13f79535-47bb-0310-9956-ffa450edef68
2013-05-29 20:24:37 +00:00
Oleg Kalnichevski b8c0487c91 HTTPCLIENT-1359: repeated requests using the same context fail if they redirect
Contributed by James Leigh <james at 3roundstones.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1487463 13f79535-47bb-0310-9956-ffa450edef68
2013-05-29 12:45:31 +00:00
Oleg Kalnichevski 2bd70ff44c HTTPCLIENT-1351: Made URICollection a concrete class; added #clear() method
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1487448 13f79535-47bb-0310-9956-ffa450edef68
2013-05-29 12:18:34 +00:00
Oleg Kalnichevski d917eec043 Removed executable flag
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1487414 13f79535-47bb-0310-9956-ffa450edef68
2013-05-29 09:05:37 +00:00
Oleg Kalnichevski eeaec64f5c HTTPCLIENT-1351: Added utility method to resolve final location from original request, target host and a list of redirects
Contributed by James Leigh <james at 3roundstones.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1487413 13f79535-47bb-0310-9956-ffa450edef68
2013-05-29 09:04:54 +00:00
Oleg Kalnichevski 26ee6689f3 HTTPCLIENT-1351: added method to HttpClientContext to obtain redirect locations
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1486956 13f79535-47bb-0310-9956-ffa450edef68
2013-05-28 15:08:31 +00:00
Oleg Kalnichevski 6fad24aef2 HTTPCLIENT-1357: Connection upgrade operation does not resolve default port (-1) to a scheme default value which can lead to a InvalidArgumentException on some platforms
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1486900 13f79535-47bb-0310-9956-ffa450edef68
2013-05-28 12:14:19 +00:00
Oleg Kalnichevski 68a101475a HTTPCLIENT-1355: HttpRequestWrapper to implement HttpUriRequest
Contributed by James Leigh <james at 3roundstones.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1486407 13f79535-47bb-0310-9956-ffa450edef68
2013-05-26 10:59:48 +00:00
Oleg Kalnichevski 6a58c84b03 HTTPCLIENT-1354: do not quote algorithm parameter in DIGEST auth response
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1485210 13f79535-47bb-0310-9956-ffa450edef68
2013-05-22 13:49:31 +00:00
Oleg Kalnichevski a679b4f4ec HTTPCLIENT-1351: Preserve last request URI in the execution context)
Contributed by James Leigh <james at 3roundstones.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1483848 13f79535-47bb-0310-9956-ffa450edef68
2013-05-17 15:13:55 +00:00
Oleg Kalnichevski 45456cf1f0 HTTPCLIENT-1303: support for java.net.Authenticator backed crednetials provider
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1483846 13f79535-47bb-0310-9956-ffa450edef68
2013-05-17 15:06:10 +00:00
Oleg Kalnichevski 87d5a1dce9 Workaround a bug in state management of re-opened connections in HttpCore
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1483844 13f79535-47bb-0310-9956-ffa450edef68
2013-05-17 15:05:16 +00:00
Oleg Kalnichevski 29ffce391c HTTPCLIENT-1351: Preserve last request URI fragment in the execution context
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1483736 13f79535-47bb-0310-9956-ffa450edef68
2013-05-17 11:01:54 +00:00
Oleg Kalnichevski 3665ee0d37 Minor optimization
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1483735 13f79535-47bb-0310-9956-ffa450edef68
2013-05-17 11:01:28 +00:00
Oleg Kalnichevski 013d53a64f HTTPCLIENT-1344: Userinfo credentials in URI should not default to preemptive BASIC authentication
HTTPCLIENT-1345: Useinfo credentials ignored in redirect location header

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1483383 13f79535-47bb-0310-9956-ffa450edef68
2013-05-16 14:15:51 +00:00
Oleg Kalnichevski 4add562f6c Tweaked example app
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1483382 13f79535-47bb-0310-9956-ffa450edef68
2013-05-16 14:15:11 +00:00
Oleg Kalnichevski 077dbc687a HTTPCLIENT-1207: Improve extensibility of DefaultHttpRequestRetryHandler
Contributed by Joshua Spiewak <jss at ivyventures.net>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1483302 13f79535-47bb-0310-9956-ffa450edef68
2013-05-16 11:37:18 +00:00
Oleg Kalnichevski 600c19f5c5 HTTPCLIENT-1294: HttpClient to rewrite host name of the redirect location URI in order to avoid circular redirect exception due to host name case mismatch.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1483267 13f79535-47bb-0310-9956-ffa450edef68
2013-05-16 09:13:11 +00:00
Oleg Kalnichevski ff1acb48a8 Code cleanups
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1483265 13f79535-47bb-0310-9956-ffa450edef68
2013-05-16 09:12:42 +00:00
Oleg Kalnichevski 345e69dc9f Throw UnsupportedSchemeException instead of plain IOException in case of an unsupported protocol scheme
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1479825 13f79535-47bb-0310-9956-ffa450edef68
2013-05-07 09:23:40 +00:00
Karl Wright 0ba38201ad Fix for HTTPCLIENT-1264.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1479699 13f79535-47bb-0310-9956-ffa450edef68
2013-05-06 22:18:21 +00:00
Oleg Kalnichevski 0ed671153e HTTPCLIENT-1348: Use plus character in addition to comma as a multi-value delimiter when extracting certificate CN in AbstractVerifier
Contributed by Vasil Badev <v_badev at infonotary.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1478931 13f79535-47bb-0310-9956-ffa450edef68
2013-05-03 19:15:51 +00:00
Oleg Kalnichevski d2aafabd0a Removed references to deprecated methods
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1478926 13f79535-47bb-0310-9956-ffa450edef68
2013-05-03 18:58:08 +00:00
Oleg Kalnichevski f08b21bdf1 HTTPCLIENT-1349: Removed references to deprecated methods
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1478916 13f79535-47bb-0310-9956-ffa450edef68
2013-05-03 18:45:57 +00:00
Oleg Kalnichevski e71b14d28c HTTPCLIENT-1349: SSLSocketFactory incorrectly identifies key passed with keystore as the keystore password
Contributed by David Graff <djgraff209 at gmail.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1478903 13f79535-47bb-0310-9956-ffa450edef68
2013-05-03 18:34:49 +00:00
Oleg Kalnichevski 53e3c07805 HTTPCLIENT-1346: Ensure propagation of SSL handshake exceptions
Contributed by Pasi Eronen <pe at iki.fi>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1471292 13f79535-47bb-0310-9956-ffa450edef68
2013-04-24 08:42:29 +00:00
Oleg Kalnichevski 228e85deb7 HTTPCLIENT-1343: SSLSocketFactory optional parameters for supported SSL protocols and cipher suites
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1469809 13f79535-47bb-0310-9956-ffa450edef68
2013-04-19 12:46:22 +00:00
Oleg Kalnichevski e1b869d6c9 HTTPCLIENT-1343: deprecated SSLSocketFactory overloaded constructors in favor of SSLContextBuilder
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1469333 13f79535-47bb-0310-9956-ffa450edef68
2013-04-18 14:04:04 +00:00
Oleg Kalnichevski 68243b227f HTTPCLIENT-1341] DeflateDecompressingEntity does not call Inflater#end
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1469235 13f79535-47bb-0310-9956-ffa450edef68
2013-04-18 09:15:00 +00:00
Oleg Kalnichevski 5769675b15 Redirects with underscore character in the location hostname cause IllegalArgumentException
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1467942 13f79535-47bb-0310-9956-ffa450edef68
2013-04-15 11:36:34 +00:00
Oleg Kalnichevski 485f06bb27 HTTPCLIENT-1338: (regression) Invalidated / stale DIGEST schemes do not get evicted from the auth cache
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1467929 13f79535-47bb-0310-9956-ffa450edef68
2013-04-15 10:25:34 +00:00
Oleg Kalnichevski e8c5d1bca4 Backported fix and test case for HTTPCLIENT-1340
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1467586 13f79535-47bb-0310-9956-ffa450edef68
2013-04-13 10:38:24 +00:00
Oleg Kalnichevski c53c5f1e1e Upgraded project version to 4.3-beta2-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1466429 13f79535-47bb-0310-9956-ffa450edef68
2013-04-10 11:30:43 +00:00
Sebastian Bazley f07e2a4c3d Trailing white space
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1464559 13f79535-47bb-0310-9956-ffa450edef68
2013-04-04 14:10:29 +00:00
Sebastian Bazley d87d19be4e HTTPCLIENT-1319 InetAddressUtils.isIPv6HexCompressedAddress does not detect excess groups
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1464531 13f79535-47bb-0310-9956-ffa450edef68
2013-04-04 13:37:04 +00:00
Oleg Kalnichevski 3ab8ff3717 Javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1464423 13f79535-47bb-0310-9956-ffa450edef68
2013-04-04 10:32:42 +00:00
Oleg Kalnichevski aaf08cec5c HTTPCLIENT-1336: javadoc improvements
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1464408 13f79535-47bb-0310-9956-ffa450edef68
2013-04-04 09:50:04 +00:00
Oleg Kalnichevski a6a328a7af Moved DateUtils to o.a.http.client.utils
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1464366 13f79535-47bb-0310-9956-ffa450edef68
2013-04-04 08:57:36 +00:00
Oleg Kalnichevski 69a7589ad5 Fixed synchronization bug
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1464365 13f79535-47bb-0310-9956-ffa450edef68
2013-04-04 08:56:04 +00:00
Oleg Kalnichevski 1242243793 Moved HttpAuthenticator to o.a.http.impl.auth
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1463959 13f79535-47bb-0310-9956-ffa450edef68
2013-04-03 12:27:18 +00:00
Oleg Kalnichevski 3f444fc740 Deprecated ClientContext; removed references to deprecated methods
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1463938 13f79535-47bb-0310-9956-ffa450edef68
2013-04-03 11:56:34 +00:00
Oleg Kalnichevski ee0997dfff HTTPCLIENT-1329: SSLSocketFactory keystorePassword constructor parameter should be char[] instead of java.lang.String
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1463575 13f79535-47bb-0310-9956-ffa450edef68
2013-04-02 14:49:41 +00:00
Oleg Kalnichevski 2f310c3744 Fixed race condition in #shouldExecuteMultipleCallsAndCallback test case
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1463521 13f79535-47bb-0310-9956-ffa450edef68
2013-04-02 13:11:24 +00:00
Oleg Kalnichevski 26add4a3d6 HTTPCLIENT-1327: BrowserCompatSpec double quotes cookie value when 'expires' attribute is present
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1463513 13f79535-47bb-0310-9956-ffa450edef68
2013-04-02 12:50:19 +00:00
Oleg Kalnichevski 5f5269f171 HTTPCLIENT-1331: made timeout value less aggressive
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1463472 13f79535-47bb-0310-9956-ffa450edef68
2013-04-02 10:23:10 +00:00
Oleg Kalnichevski 0373fbed65 Renamed HttpAsyncClientWithFuture to FutureRequestExecutionService; moved implementation classes to o.a.h.impl.client package
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1463471 13f79535-47bb-0310-9956-ffa450edef68
2013-04-02 10:22:55 +00:00
Oleg Kalnichevski 458575bf59 HTTPCLIENT-1322: Factory method + example for HttpAsyncClientWithFuture. Follow-up to HTTPCLIENT-1307
Contributed by Jilles van Gurp <jilles at jillesvangurp.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1462087 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 13:30:06 +00:00
Oleg Kalnichevski 60bca79a3c Upgraded HttpCore to version 4.3-beta1
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1460717 13f79535-47bb-0310-9956-ffa450edef68
2013-03-25 15:34:27 +00:00
Oleg Kalnichevski 371b754e1c Added SSLContext as an option for SSL customization
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1460555 13f79535-47bb-0310-9956-ffa450edef68
2013-03-25 09:15:28 +00:00
Oleg Kalnichevski 96c021c8dd Fixed broken authentication support in deprecated DefaultHttpClient and its subclasses
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1460554 13f79535-47bb-0310-9956-ffa450edef68
2013-03-25 09:15:13 +00:00
Oleg Kalnichevski 9d6d3b6288 HTTPCLIENT-1320: Leverage javax.net.ssl.SSLSocketFactory#getDefault() to initialize SSL context based on system defaults instead of using an internal custom routine
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1454687 13f79535-47bb-0310-9956-ffa450edef68
2013-03-09 11:41:56 +00:00
Oleg Kalnichevski ec85a83173 Minor tweak to debug log message
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1454680 13f79535-47bb-0310-9956-ffa450edef68
2013-03-09 09:46:59 +00:00
Oleg Kalnichevski fd5cab185b Revised HttpClientConnectionManager API
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1454679 13f79535-47bb-0310-9956-ffa450edef68
2013-03-09 09:46:33 +00:00
Francois-Xavier Bonnet c6355ba412 HTTPCLIENT-1328: socketTimeout parameter is ignored
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1450810 13f79535-47bb-0310-9956-ffa450edef68
2013-02-27 15:32:09 +00:00
Francois-Xavier Bonnet d73f4c1b38 HTTPCLIENT-1325: Using a HttpRequest that is not an HttpUriRequest when host in URI is not target host results in an invalid request
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1448936 13f79535-47bb-0310-9956-ffa450edef68
2013-02-22 08:36:36 +00:00
Karl Wright 584309b3e8 Fix for HTTPCLIENT-1315.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1447065 13f79535-47bb-0310-9956-ffa450edef68
2013-02-17 20:01:49 +00:00
Francois-Xavier Bonnet f4447aef19 Added javadoc for deprecation
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1445598 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 13:48:49 +00:00
Francois-Xavier Bonnet 5fbe5ea46d HTTPCLIENT-1323: CachingHttpClient ignores params set on the request
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1445521 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 09:51:24 +00:00
Sebastian Bazley f4c45c1e6f Show repeated string in compressed pattern
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1445026 13f79535-47bb-0310-9956-ffa450edef68
2013-02-12 03:23:52 +00:00
Sebastian Bazley cd1ac109d3 Add tests to show compressed IPv6 addresses cannot have too many leading or trailing fields
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1445023 13f79535-47bb-0310-9956-ffa450edef68
2013-02-12 03:09:30 +00:00
Sebastian Bazley c29390b4dc Remove single trailing space (checkstyle is rather fierce!)
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1444943 13f79535-47bb-0310-9956-ffa450edef68
2013-02-11 20:19:56 +00:00
Sebastian Bazley d1431569ed Make repeat string in IPv4 expression more obvious
Remove non-capturing groups for clarity

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1444942 13f79535-47bb-0310-9956-ffa450edef68
2013-02-11 20:03:08 +00:00
Sebastian Bazley 4146dd8c58 HTTPCLIENT-1317 InetAddressUtils should handle IPv6 Addresses with Embedded IPv4 Addresses
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1444926 13f79535-47bb-0310-9956-ffa450edef68
2013-02-11 19:15:07 +00:00
Francois-Xavier Bonnet b95f92e1bc HTTPCLIENT-1321: DefaultHttpClient ignores cookie policy
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1444920 13f79535-47bb-0310-9956-ffa450edef68
2013-02-11 18:44:15 +00:00
Sebastian Bazley 7e081f0d5c More tests for IPV6 - show that IP with 8 zeroes is OK, but with 7 or 9 is not
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1444746 13f79535-47bb-0310-9956-ffa450edef68
2013-02-11 11:56:52 +00:00
Sebastian Bazley d9de7f7c96 Explicit boxing
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1444639 13f79535-47bb-0310-9956-ffa450edef68
2013-02-11 00:32:14 +00:00
Sebastian Bazley af4a7f171b Javadoc syntax
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1444636 13f79535-47bb-0310-9956-ffa450edef68
2013-02-11 00:26:30 +00:00
Oleg Kalnichevski 265f083625 HTTPCLIENT-1320: SSLSocketFactory#createSystemSSLContext causes UnrecoverableKeyException 'Password verification failed' when a truststore is specified with 'javax.net.ssl.trustStore' system property is used without a password
Contributed by Abe Backus <abraham at backus.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1444408 13f79535-47bb-0310-9956-ffa450edef68
2013-02-09 18:27:21 +00:00
Sebastian Bazley f90b20ce36 Unexpected Javadoc tag
The class is not generic

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1443287 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 00:20:20 +00:00
Sebastian Bazley 4464a658db HTTPCLIENT-1319 - add disabled tests
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1443286 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 00:17:31 +00:00
Sebastian Bazley cbb0c48021 Add some more test examples
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1443277 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 23:53:45 +00:00
Sebastian Bazley b6bfa8505f Trim trailing blank (oops)
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1442835 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 02:18:53 +00:00
Sebastian Bazley d7afb22c13 [HTTPCLIENT-1316] Certificate verification rejects IPv6 addresses which are not String-equal.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1442829 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 01:41:58 +00:00
Oleg Kalnichevski 4a021ce33a Log 'Connection can be kept alive' debug message only if the connection is known be re-usable
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1442567 13f79535-47bb-0310-9956-ffa450edef68
2013-02-05 12:39:32 +00:00
Oleg Kalnichevski 3627984c9d PoolingClientConnectionManager does not use ClientConnectionOperator#createConnection() method to create new connections
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1442566 13f79535-47bb-0310-9956-ffa450edef68
2013-02-05 12:39:21 +00:00
Oleg Kalnichevski 5cd571a159 HTTPCLIENT-1307: Future based asynchronous request execution
Contributed by Jilles van Gurp <jilles at jillesvangurp.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1442152 13f79535-47bb-0310-9956-ffa450edef68
2013-02-04 15:28:49 +00:00
Oleg Kalnichevski 305357a488 Fixed parameter mixup in HttpClientParamConfig#getRequestConfig
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1442151 13f79535-47bb-0310-9956-ffa450edef68
2013-02-04 15:28:32 +00:00
Oleg Kalnichevski f6f1d7af49 HTTPCLIENT-1311: made sure the current thread is re-interrupted if InterruptedException is caught and re-thrown as a different exception; tweaked connection manager API related to interruptable operations
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1441414 13f79535-47bb-0310-9956-ffa450edef68
2013-02-01 12:06:33 +00:00
Oleg Kalnichevski 1f7b7a32af HTTPCLIENT-1312: Zero length content entities with a Content-Encoding header cause an I/O error when an attempt is made to consume such entity
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1440673 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 21:13:02 +00:00
Oleg Kalnichevski e37f99ccda HTTPCLIENT-1313: Fixed IllegalStateException in deprecated ThreadSafeClientConnManager
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1440520 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 16:59:20 +00:00
Oleg Kalnichevski 90fc40bbf2 Use InetSocketAddress instead of InetAddress in the HttpClientConnectionManager#connect method
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1440519 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 16:59:07 +00:00
Oleg Kalnichevski 549a45b2f4 HTTPCLIENT-1305: Use Base64 as a final instance variable
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1438566 13f79535-47bb-0310-9956-ffa450edef68
2013-01-25 15:55:56 +00:00
Oleg Kalnichevski 500434f256 HTTPCLIENT-1305: Ensure chunking is disabled when applying Base64 encoding
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1438495 13f79535-47bb-0310-9956-ffa450edef68
2013-01-25 13:19:23 +00:00
Gary D. Gregory a544aef29e Organize imports.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1437583 13f79535-47bb-0310-9956-ffa450edef68
2013-01-23 17:23:36 +00:00
Gary D. Gregory 79c1aa0b5d JUnit 3 -> 4: replace import of junit.framework.Assert with org.junit.Assert.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1437577 13f79535-47bb-0310-9956-ffa450edef68
2013-01-23 17:19:46 +00:00
Oleg Kalnichevski 696b6e117b Upgraded project version to 4.3-alpha2-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1435976 13f79535-47bb-0310-9956-ffa450edef68
2013-01-20 21:28:23 +00:00
Sebastian Bazley 0730d6c7c9 target cannot be null here otherwise the earlier invocation of target.getPort() would fail with NPE
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1435320 13f79535-47bb-0310-9956-ffa450edef68
2013-01-18 19:40:42 +00:00
Sebastian Bazley 5bdd456c8c Javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1435315 13f79535-47bb-0310-9956-ffa450edef68
2013-01-18 19:34:52 +00:00
Oleg Kalnichevski 2ea3298894 Fixed javadocs
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1434000 13f79535-47bb-0310-9956-ffa450edef68
2013-01-16 15:54:44 +00:00
Gary D. Gregory 3ebbcab3b4 Add final modifier to local variables.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1433815 13f79535-47bb-0310-9956-ffa450edef68
2013-01-16 03:27:44 +00:00
Oleg Kalnichevski 3d34035b17 Fixed style check violations (tabs introduced by a previous commit)
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1433610 13f79535-47bb-0310-9956-ffa450edef68
2013-01-15 20:08:10 +00:00
Gary D. Gregory 276a9c4597 Add final modifier to method parameters.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1433569 13f79535-47bb-0310-9956-ffa450edef68
2013-01-15 18:29:58 +00:00
Gary D. Gregory 917145dbd3 Convert control statement bodies to block.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1433390 13f79535-47bb-0310-9956-ffa450edef68
2013-01-15 13:12:01 +00:00
Oleg Kalnichevski d4dc9e1ac7 Moved internal exec chain classes and interfaces
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1432732 13f79535-47bb-0310-9956-ffa450edef68
2013-01-13 20:41:41 +00:00
Oleg Kalnichevski 19c10ca488 Fixed style check violations (tabs introduced by a previous commit)
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1432730 13f79535-47bb-0310-9956-ffa450edef68
2013-01-13 20:41:07 +00:00