Commit Graph

1780 Commits

Author SHA1 Message Date
Oleg Kalnichevski 278e06df47 Ensure backend response is correctly closed in case of a HTTP, i/o or runtime error
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1420391 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 20:40:27 +00:00
Oleg Kalnichevski f643326e9e Moved HttpClientBuilder
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1420122 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 12:22:58 +00:00
Oleg Kalnichevski 034805c3af Added caching specific HttpClient builder
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1420121 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 12:20:08 +00:00
Oleg Kalnichevski b257aeec70 Added cache specific HttpContext adaptor
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1419448 13f79535-47bb-0310-9956-ffa450edef68
2012-12-10 13:40:25 +00:00
Karl Wright c98900ebd8 Fix for HTTPCLIENT-1080. Comment out dead code.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1419348 13f79535-47bb-0310-9956-ffa450edef68
2012-12-10 11:28:44 +00:00
Karl Wright 460a604487 Fix for HTTPCLIENT-1268. Correct a buffer overrun and add additional tests designed to detect similar problems in the future.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1419343 13f79535-47bb-0310-9956-ffa450edef68
2012-12-10 11:16:29 +00:00
Oleg Kalnichevski fcd02a0a18 Ported CachingHttpClient to ClientExecChain API
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1418743 13f79535-47bb-0310-9956-ffa450edef68
2012-12-08 19:59:24 +00:00
Oleg Kalnichevski dd3d12f0d6 HTTPCLIENT-1263: BrowserCompatSpec: attribute values containing spaces or special characters should be enclosed with quotes marks for version 1 cookies
Contributed by Francois-Xavier Bonnet <francois-xavier.bonnet at centraliens.net>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1418654 13f79535-47bb-0310-9956-ffa450edef68
2012-12-08 12:12:12 +00:00
Gary D. Gregory cdaca60ad0 Use the 'maven.compile.source' property instead of a hard-wired version number.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1418304 13f79535-47bb-0310-9956-ffa450edef68
2012-12-07 13:28:03 +00:00
Gary D. Gregory 168a1d6e75 Use the 'maven.compile.source' property instead of a hard-wired version number.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1418300 13f79535-47bb-0310-9956-ffa450edef68
2012-12-07 13:25:48 +00:00
Oleg Kalnichevski 264d2038ea HTTPCLIENT-1266: NTLM engine refactoring and compatibility improvements.
Contributed by Karl Wright <DaddyWri at gmail.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1417384 13f79535-47bb-0310-9956-ffa450edef68
2012-12-05 12:31:20 +00:00
Oleg Kalnichevski 9b6aeffa80 Fixed binary compatiblity breakage
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1417377 13f79535-47bb-0310-9956-ffa450edef68
2012-12-05 12:17:39 +00:00
Oleg Kalnichevski 9aea057953 Ported internal caching classes to the new execution chain API
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1417343 13f79535-47bb-0310-9956-ffa450edef68
2012-12-05 10:34:46 +00:00
Oleg Kalnichevski c222ad9247 Made CookieSpecRegistry implement Lookup interface for compatibility with the new config API
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1416857 13f79535-47bb-0310-9956-ffa450edef68
2012-12-04 09:52:00 +00:00
Oleg Kalnichevski a901dbf14f Moved HttpRequestWrapper to public API package
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1416586 13f79535-47bb-0310-9956-ffa450edef68
2012-12-03 16:49:37 +00:00
Oleg Kalnichevski 0edf06281f Made CacheConfig consistent with the new config API
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1416582 13f79535-47bb-0310-9956-ffa450edef68
2012-12-03 16:34:27 +00:00
Oleg Kalnichevski c9ca7b9987 Fixed OSGi metadata causing build breakage
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1416183 13f79535-47bb-0310-9956-ffa450edef68
2012-12-02 14:27:50 +00:00
Oleg Kalnichevski 03769ceecc Refactored execution proxy classes; entity enclosing requests are enhanced only when necessary
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1416177 13f79535-47bb-0310-9956-ffa450edef68
2012-12-02 14:03:52 +00:00
Gary D. Gregory a2a5d87980 XML formatting nit.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1414815 13f79535-47bb-0310-9956-ffa450edef68
2012-11-28 17:05:02 +00:00
Gary D. Gregory f81dd8f31a The root project defines module the properties used by all the other modules.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1414748 13f79535-47bb-0310-9956-ffa450edef68
2012-11-28 15:17:17 +00:00
Oleg Kalnichevski 1487890a0d Had to make ClientExecChain and related classes public in order to make them accessible by the caching module
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1414683 13f79535-47bb-0310-9956-ffa450edef68
2012-11-28 13:47:28 +00:00
Oleg Kalnichevski f7cf9a22e1 Deprecated HttpParams and related classes in favor of new configuration API (fixed remaining deprecation warnings)
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1414682 13f79535-47bb-0310-9956-ffa450edef68
2012-11-28 13:46:07 +00:00
Oleg Kalnichevski 73dc5eebfd Deprecated HttpParams and related classes in favor of new configuration API
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1414680 13f79535-47bb-0310-9956-ffa450edef68
2012-11-28 13:45:06 +00:00
Oleg Kalnichevski 1179458a52 DefaultClientConnectionFactory to use lenient HttpResponseParser implementation
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1414679 13f79535-47bb-0310-9956-ffa450edef68
2012-11-28 13:42:08 +00:00
Oleg Kalnichevski e2e564a1a1 Deprecated Scheme, SchemeRegistry and related classes in favor of generic Registry; connection managers to use new ConnectionSocketFactory API; rewrote default HttpRoutePlanner implementations
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1414678 13f79535-47bb-0310-9956-ffa450edef68
2012-11-28 13:39:31 +00:00
Oleg Kalnichevski 8901aed494 Deprecated AuthSchemeRegistry and CookieSpecRegistry in favor of generic Registry
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1414676 13f79535-47bb-0310-9956-ffa450edef68
2012-11-28 13:37:32 +00:00
Oleg Kalnichevski 2c1d3f797a Updated new connection managers to use SocketClientConnectionImpl instead of deprecated DefaultClientConnection
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1414675 13f79535-47bb-0310-9956-ffa450edef68
2012-11-28 13:36:41 +00:00
Oleg Kalnichevski 4dc5821acb Configuration API changes: deprecated SchemeSocketFactory and SchemeLayeredSocketFactory in favor of ConnectionSocketFactory and LayeredConnectionSocketFactory interfaces (new API no longer relies on HttpParams)
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1414674 13f79535-47bb-0310-9956-ffa450edef68
2012-11-28 13:35:46 +00:00
Oleg Kalnichevski 697556b9b0 DefaultClientConnection deprecated in favor of package private ClientConnectionImpl
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1414672 13f79535-47bb-0310-9956-ffa450edef68
2012-11-28 13:35:01 +00:00
Oleg Kalnichevski 8dccdcc7c8 Refactored local HTTP server for integration tests
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1414671 13f79535-47bb-0310-9956-ffa450edef68
2012-11-28 13:34:18 +00:00
Oleg Kalnichevski 398420e7f6 Upgraded HttpCore dependency to 4.3-alpha1
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1414631 13f79535-47bb-0310-9956-ffa450edef68
2012-11-28 10:29:59 +00:00
Gary D. Gregory 889bed9fe6 Maven 3.0.x and Clover are not compatible and will cause a build error.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1413715 13f79535-47bb-0310-9956-ffa450edef68
2012-11-26 16:49:58 +00:00
Oleg Kalnichevski f24317d156 HTTPCLIENT-1263: CachingHttpClient fails to release connections back to the connection manager for some type of HTTP response messages when used together with DecompressingHttpClient
Contributed by Francois-Xavier Bonnet <francois-xavier.bonnet at centraliens.net>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1412858 13f79535-47bb-0310-9956-ffa450edef68
2012-11-23 12:45:02 +00:00
Oleg Kalnichevski 6e14fc146a Fixed CN extraction from DN of X500 principal
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1411702 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 15:37:02 +00:00
Gary D. Gregory 529541458b Update httpcore.version to 4.2.2 from 4.2.1.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1410668 13f79535-47bb-0310-9956-ffa450edef68
2012-11-17 02:05:33 +00:00
Gary D. Gregory b6457c4d27 [HTTPCLIENT-1260] Javadoc incorrectly states StringBody(String)'s encoding uses the system default. Contributed by Tim <tdhutt at gmail.com> and Gary Gregory <ggregory at apache.org>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1409922 13f79535-47bb-0310-9956-ffa450edef68
2012-11-15 18:46:03 +00:00
Gary D. Gregory c017b6ba7b Javadoc nit.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1409915 13f79535-47bb-0310-9956-ffa450edef68
2012-11-15 18:36:16 +00:00
Oleg Kalnichevski d8385495f7 Removed attribution clause for JCIP-ANNOTATIONS moved to HttpCore
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1408331 13f79535-47bb-0310-9956-ffa450edef68
2012-11-12 15:49:19 +00:00
Gary D. Gregory 20de472dd7 Use Java 5 enhanced 'for' loops.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1407076 13f79535-47bb-0310-9956-ffa450edef68
2012-11-08 13:46:24 +00:00
Sebastian Bazley 7201c0c216 Unnecessary null check.
Move setup of default value to where variable is declared

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1406892 13f79535-47bb-0310-9956-ffa450edef68
2012-11-08 01:52:14 +00:00
Sebastian Bazley df203b7dcd Explicit boxing in main classes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1406891 13f79535-47bb-0310-9956-ffa450edef68
2012-11-08 01:50:59 +00:00
Sebastian Bazley e9ed1f5725 Fix some obvious boxing in test classes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1406888 13f79535-47bb-0310-9956-ffa450edef68
2012-11-08 01:34:17 +00:00
Sebastian Bazley b28ec1bf3d Fix some obvious boxing in test classes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1406884 13f79535-47bb-0310-9956-ffa450edef68
2012-11-08 01:32:46 +00:00
Sebastian Bazley 5a436e52c3 Explicit boxing in main classes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1406882 13f79535-47bb-0310-9956-ffa450edef68
2012-11-08 01:26:46 +00:00
Sebastian Bazley c2e94980e1 Formatter instances need to be closed
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1406436 13f79535-47bb-0310-9956-ffa450edef68
2012-11-07 03:24:08 +00:00
Sebastian Bazley 4e3cbc31a7 Explicit Boolean rather than boxing
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1406435 13f79535-47bb-0310-9956-ffa450edef68
2012-11-07 03:23:35 +00:00
Sebastian Bazley 321319c965 Missing @Override
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1406426 13f79535-47bb-0310-9956-ffa450edef68
2012-11-07 02:47:49 +00:00
Sebastian Bazley e1395539de Unthrown exceptions
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1406425 13f79535-47bb-0310-9956-ffa450edef68
2012-11-07 02:47:24 +00:00
Sebastian Bazley 73054957f8 Unnecessary casts
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1406424 13f79535-47bb-0310-9956-ffa450edef68
2012-11-07 02:47:01 +00:00
Sebastian Bazley 838a106e90 Redundant semis
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1406423 13f79535-47bb-0310-9956-ffa450edef68
2012-11-07 02:46:26 +00:00