Oleg Kalnichevski
18ee596a4d
HTTPCLIENT-769: Do not pool connection marked non-reusable
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@652945 13f79535-47bb-0310-9956-ffa450edef68
2008-05-02 23:10:20 +00:00
Oleg Kalnichevski
70ec62d7c4
Reverted version tag back to 4.0-alpha4-SNAPSHOT
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@652937 13f79535-47bb-0310-9956-ffa450edef68
2008-05-02 22:50:02 +00:00
Sebastian Bazley
2b96bbd678
Make field final so it is guaranteed to be published
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@652728 13f79535-47bb-0310-9956-ffa450edef68
2008-05-02 01:28:39 +00:00
Sebastian Bazley
4794436347
Make instance fields final so they are guaranteed to be published
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@652726 13f79535-47bb-0310-9956-ffa450edef68
2008-05-02 01:16:51 +00:00
Sebastian Bazley
0f26ebe939
Make field final so it is guaranteed to be published
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@652721 13f79535-47bb-0310-9956-ffa450edef68
2008-05-02 00:32:20 +00:00
Oleg Kalnichevski
56477b27b5
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@652460 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 09:39:24 +00:00
Oleg Kalnichevski
a4d0a8c7d2
[maven-release-plugin] prepare release 4.0-alpha4
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@652458 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 09:39:09 +00:00
Sebastian Bazley
00437f69cd
Spurious ;
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@652200 13f79535-47bb-0310-9956-ffa450edef68
2008-04-30 00:22:43 +00:00
Sebastian Bazley
f2df94048f
managedConn cannot be null
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@652197 13f79535-47bb-0310-9956-ffa450edef68
2008-04-30 00:15:27 +00:00
Sebastian Bazley
552385da13
Remove redundant assignment
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@652196 13f79535-47bb-0310-9956-ffa450edef68
2008-04-30 00:15:21 +00:00
Sebastian Bazley
5b42ae8fd0
Remove redundant assignment
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@652195 13f79535-47bb-0310-9956-ffa450edef68
2008-04-30 00:15:16 +00:00
Sebastian Bazley
41af181267
schm cannot be null
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@652193 13f79535-47bb-0310-9956-ffa450edef68
2008-04-30 00:10:36 +00:00
Sebastian Bazley
96405703fa
Javadoc correction
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@652192 13f79535-47bb-0310-9956-ffa450edef68
2008-04-30 00:04:59 +00:00
Oleg Kalnichevski
88013c6596
Removed inception year tag from module poms
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@652155 13f79535-47bb-0310-9956-ffa450edef68
2008-04-29 21:34:26 +00:00
Sebastian Bazley
4419c91e65
Ensure correct socket variable is used; rename sslock => sslsock
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@652153 13f79535-47bb-0310-9956-ffa450edef68
2008-04-29 21:33:59 +00:00
Sebastian Bazley
bdfd6701cf
HTTPCLIENT-767 - Static variables need to be final (or access should be synchronised)
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@652094 13f79535-47bb-0310-9956-ffa450edef68
2008-04-29 20:44:03 +00:00
Oleg Kalnichevski
e9f73a72b7
HTTPCLIENT-764: javadoc improvements
...
Contributed by Sam Berlin <sberlin at gmail.com>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@652020 13f79535-47bb-0310-9956-ffa450edef68
2008-04-27 21:23:31 +00:00
Oleg Kalnichevski
ff21903817
Damn!
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@651815 13f79535-47bb-0310-9956-ffa450edef68
2008-04-26 11:14:43 +00:00
Oleg Kalnichevski
33412bae99
Added missing AL header
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@651814 13f79535-47bb-0310-9956-ffa450edef68
2008-04-26 11:00:53 +00:00
Oleg Kalnichevski
9b3fc0bca1
Javadoc fixes
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@651813 13f79535-47bb-0310-9956-ffa450edef68
2008-04-26 10:43:34 +00:00
Oleg Kalnichevski
e418175d2b
* Fixed connection auto release problem with BasicManagedEntity#writeTo
...
* Added connection auto release test cases
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@651809 13f79535-47bb-0310-9956-ffa450edef68
2008-04-26 09:51:23 +00:00
Oleg Kalnichevski
769484f71e
Copy request headers from the original request to the redirected request
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@651072 13f79535-47bb-0310-9956-ffa450edef68
2008-04-23 21:32:33 +00:00
Oleg Kalnichevski
e487e799c2
Rewrite the redirect URI only if it contains a fragment part
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@650988 13f79535-47bb-0310-9956-ffa450edef68
2008-04-23 18:29:05 +00:00
Oleg Kalnichevski
56baf77bb2
Minor code improvements in the DefaultClientRequestRedirector and SingleClientConnManager
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@650979 13f79535-47bb-0310-9956-ffa450edef68
2008-04-23 18:23:15 +00:00
Oleg Kalnichevski
e2eb355878
HTTPCLIENT-763: AbstractClientConnAdapter#abortConnection() does not release the connection if called from the main execution thread while there is no blocking I/O operation.
...
AbstractClientConnAdapter#abortConnection() is usually expected to be called from a helper thread in order to unblock the main execution thread blocked in an I/O operation. It may be unsafe to call AbstractClientConnAdapter#releaseConnection() from the helper thread, so we have to rely on an IOException thrown by the closed socket on the main thread to trigger the release of the connection back to the connection manager. However, if this method is called from the main execution thread it should be safe to release the connection immediately. Besides, this also helps ensure the connection gets released back to the manager if AbstractClientConnAdapter#abortConnection() is called from the main execution thread while there is no blocking I/O operation.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@650223 13f79535-47bb-0310-9956-ffa450edef68
2008-04-21 19:08:17 +00:00
Oleg Kalnichevski
ef548b4620
Renamed Aborter to WaitingThreadAborter
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@649220 13f79535-47bb-0310-9956-ffa450edef68
2008-04-17 18:40:24 +00:00
Oleg Kalnichevski
d3205ff522
Change WaitingThread class to unblock the lock instead of interrupting the waiting thread
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@649217 13f79535-47bb-0310-9956-ffa450edef68
2008-04-17 18:32:32 +00:00
Oleg Kalnichevski
ad9e79c4d9
HTTPCLIENT-652: Added optional state attribute to managed client connections; this enables connection managers to correctly handle stateful connections
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@649204 13f79535-47bb-0310-9956-ffa450edef68
2008-04-17 17:50:13 +00:00
Oleg Kalnichevski
2b91201275
Refactoring of the TSCCM code:
...
* Removed code maintaining a weak reference to the parent connection manager in the AbstractConnPool. The weak reference to the connection manager is currently used to shut down the pool when the connection manager gets GC-ed. The same net result can be achieved by calling #shutdown from #finalize() of the connection manager class.
* Shut down connection managers in #finalize().
* There is no point passing ClientConnectionOperator around. It can be assigned to the connection pool once at the construction time.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@649035 13f79535-47bb-0310-9956-ffa450edef68
2008-04-17 10:00:45 +00:00
Oleg Kalnichevski
5a08148d25
Refactored configuration of the thread-safe connection manager and its components. Parameters now apply at the construction time only
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@648877 13f79535-47bb-0310-9956-ffa450edef68
2008-04-16 22:05:35 +00:00
Oleg Kalnichevski
bfbc2e0007
Fixed the use of the Lock interface in AbstractConnPool and ConnPoolByRoute
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@648848 13f79535-47bb-0310-9956-ffa450edef68
2008-04-16 21:05:54 +00:00
Oleg Kalnichevski
608a6e67f3
HTTPCLIENT-748: Made AuthSchemeRegistry, SchemeRegistry, CookieSpecRegistry friendlier for DI frameworks
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@648356 13f79535-47bb-0310-9956-ffa450edef68
2008-04-15 17:57:53 +00:00
Oleg Kalnichevski
ffa55f8eec
Replaced ConnPerRouteBean class with ConnPerRoute interface
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@647811 13f79535-47bb-0310-9956-ffa450edef68
2008-04-14 14:20:30 +00:00
Oleg Kalnichevski
bc6b2d7061
HTTPCLIENT-673: Revised max connections per route configuration
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@647810 13f79535-47bb-0310-9956-ffa450edef68
2008-04-14 14:17:01 +00:00
Oleg Kalnichevski
824b785a99
HTTPCLIENT-652:
...
* Reverting most of my previous changes. Passing a state object to the connection manager when trying to obtain a connection is completely pointless, as usually connection state information becomes available only after the connection has been established, for instance, after having been challenged by an authenticating server. Therefore, it is necessary to be able to set a state object on an active connection
* added method to set state object on ManagedClientConnection
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@646918 13f79535-47bb-0310-9956-ffa450edef68
2008-04-10 18:30:12 +00:00
Oleg Kalnichevski
8ff6eedd9e
HTTPCLIENT-652: Added optional state attribute to managed client connections
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@646549 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 21:29:33 +00:00
Oleg Kalnichevski
42d9c4e324
Simplified OperatedClientConnection interface. Moved secure flag to #openCompleted
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@646087 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 21:36:46 +00:00
Oleg Kalnichevski
987b1cab33
Simplified OperatedClientConnection interface
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@646081 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 21:28:48 +00:00
Oleg Kalnichevski
168a699a8f
HTTPCLIENT-752: version.properties for HttpMime
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@645851 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 11:14:29 +00:00
Oleg Kalnichevski
47eff4157e
HTTPCLIENT-753: Class Scheme and related classes moved to a separate package
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@645850 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 11:08:52 +00:00
Oleg Kalnichevski
21705fdb9c
Made RoutedRequest a simple class
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@645846 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 10:53:39 +00:00
Oleg Kalnichevski
f2ef6c15a6
HTTPCLIENT-757: Improved request wrapping in the DefaultClientRequestDirector. This also fixed the problem with the default proxy set at the client level having no effect.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@645843 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 10:46:04 +00:00
Oleg Kalnichevski
fa366c559c
Moved UrlEncodedFormEntity to o.a.h.client.entity package
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@645074 13f79535-47bb-0310-9956-ffa450edef68
2008-04-05 10:59:59 +00:00
Oleg Kalnichevski
e8923010c7
HTTPCLIENT-746: Refactored URLUtils into URLEncodedUtils and URIUtils
...
Contributed by Stojce Dimski <sdmiski at yahoo.it>
Reviewed by Oleg Kalnichevski
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@645072 13f79535-47bb-0310-9956-ffa450edef68
2008-04-05 10:54:12 +00:00
Oleg Kalnichevski
e1ac27569a
HTTPCLIENT-746: Refactored URLUtils into URLEncodedUtils and URIUtils
...
Contributed by Stojce Dimski <sdmiski at yahoo.it>
Reviewed by Oleg Kalnichevski
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@645071 13f79535-47bb-0310-9956-ffa450edef68
2008-04-05 10:53:05 +00:00
Oleg Kalnichevski
4b3b19a8bd
HTTPCLIENT-741: More concurrency fixes in HttpConn classes
...
Contributed by Tim Julien <tjulien at limewire.com>
Reviewed by Oleg Kalnichevski
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@643531 13f79535-47bb-0310-9956-ffa450edef68
2008-04-01 19:38:50 +00:00
Oleg Kalnichevski
5956d0ed5f
Removed unused method from the ClientRequestDirector interface
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@640959 13f79535-47bb-0310-9956-ffa450edef68
2008-03-25 19:49:35 +00:00
Oleg Kalnichevski
97bb41b687
GTTPCLIENT-760: Improved handling of request abort in fringe situations such as request abort immediately after a connection has been allocated but before the release trigger has been set
...
Contributed by Sam Berlin <sberlin at gmail.com>
Reviewed by Oleg Kalnichevski
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@639600 13f79535-47bb-0310-9956-ffa450edef68
2008-03-21 11:28:15 +00:00
Oleg Kalnichevski
c51f3a980f
HTTPCLIENT-734: API refinements
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@639506 13f79535-47bb-0310-9956-ffa450edef68
2008-03-21 00:40:54 +00:00
Oleg Kalnichevski
a72e883d9c
HTTPCLIENT-734: Request abort will unblock the thread waiting for a connection
...
Contributed by Sam Berlin <sberlin at gmail.com>
Reviewed by Oleg Kalnichevski
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@638979 13f79535-47bb-0310-9956-ffa450edef68
2008-03-19 19:36:02 +00:00
Oleg Kalnichevski
1e153a504c
HTTPCLIENT-759: Ensure release of connections back to the connection manager on exceptions.
...
Contributed by Sam Berlin <sberlin at gmail.com>
Reviewed by Oleg Kalnichevski
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@638517 13f79535-47bb-0310-9956-ffa450edef68
2008-03-18 19:22:57 +00:00
Oleg Kalnichevski
c84d594f75
HTTPCLIENT-758: Fixed the use of generics in AbstractHttpClient #removeRequestInterceptorByClass and #removeResponseInterceptorByClass
...
Contributed by Johannes Koch <johannes.koch at fit.fraunhofer.de>
Reviewed by Oleg Kalnichevski
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@635675 13f79535-47bb-0310-9956-ffa450edef68
2008-03-10 20:00:15 +00:00
Oleg Kalnichevski
f25c8c1f77
HTTPCLIENT-746: Alternative URL coding methods
...
Contributed by Stojce Dimski <sdmiski at yahoo.it>
Reviewed by Oleg Kalnichevski
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@635111 13f79535-47bb-0310-9956-ffa450edef68
2008-03-08 23:21:03 +00:00
Oleg Kalnichevski
8f53912519
HTTPCLIENT-749: HttpParams beans
...
Contributed by Stojce Dimski <sdmiski at yahoo.it>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@632313 13f79535-47bb-0310-9956-ffa450edef68
2008-02-29 13:19:50 +00:00
Oleg Kalnichevski
2588e16238
HTTPCLIENT-755: Workaround for known bugs in java.net.URI.resolve() (Bug ID: 4708535)
...
Contributed by Johannes Koch <johannes.koch at fit.fraunhofer.de>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@632273 13f79535-47bb-0310-9956-ffa450edef68
2008-02-29 09:43:28 +00:00
Oleg Kalnichevski
a24d0b2de1
HTTPCLIENT-754: BasicClientCookie.toString() contains 'name' instead of 'value' when writing out cookie value
...
Contributed by Thomas Friol <thomas at anyware-tech.com>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@631985 13f79535-47bb-0310-9956-ffa450edef68
2008-02-28 14:31:43 +00:00
Oleg Kalnichevski
64abe1e5a2
Added javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@631721 13f79535-47bb-0310-9956-ffa450edef68
2008-02-27 20:51:28 +00:00
Oleg Kalnichevski
b055442d4b
This patch effectively reverts HTTPCLIENT-643 changes. Multihome fail-over mechanism simply cannot be properly implemented at the socket factory level. A failure in the connect method can leave the socket in a inconsistent state on some platforms (Mac OS), making it impossible to connect the same socket to a different address
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@631713 13f79535-47bb-0310-9956-ffa450edef68
2008-02-27 20:40:35 +00:00
Roland Weber
a42e4de19e
more volatiles, not sure whether these are needed
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@630417 13f79535-47bb-0310-9956-ffa450edef68
2008-02-23 09:04:32 +00:00
Roland Weber
898a8edc53
missing volatile declarations
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@630414 13f79535-47bb-0310-9956-ffa450edef68
2008-02-23 08:59:18 +00:00
Oleg Kalnichevski
30e15edc67
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@629589 13f79535-47bb-0310-9956-ffa450edef68
2008-02-20 19:42:42 +00:00
Oleg Kalnichevski
49021f33b8
[maven-release-plugin] prepare release 4.0-alpha3
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@629587 13f79535-47bb-0310-9956-ffa450edef68
2008-02-20 19:42:26 +00:00
Oleg Kalnichevski
44cb5c03e0
Do not attempt to update the auth state if not valid
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@627483 13f79535-47bb-0310-9956-ffa450edef68
2008-02-13 15:39:37 +00:00
Oleg Kalnichevski
d720162806
#isStale to return true if the connection has been aborted
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@627464 13f79535-47bb-0310-9956-ffa450edef68
2008-02-13 15:20:53 +00:00
Oleg Kalnichevski
b6f3d188bb
Web site updates for the 4.0-alpha3 release
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@627080 13f79535-47bb-0310-9956-ffa450edef68
2008-02-12 20:25:32 +00:00
Erik Abele
9c602edefc
Module site improvements for HttpClient:
...
- add license header to stay in sync with other site.xml's
- change Home link to HttpComponents
- add Overview menu for easier navigation
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@620548 13f79535-47bb-0310-9956-ffa450edef68
2008-02-11 17:46:42 +00:00
Oleg Kalnichevski
72ec65e6cb
Updated dependency declarations in poms
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@620519 13f79535-47bb-0310-9956-ffa450edef68
2008-02-11 16:33:39 +00:00
Roland Weber
a955029035
HttpRoutePlanner uses RouteInfo
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@620255 13f79535-47bb-0310-9956-ffa450edef68
2008-02-10 10:23:55 +00:00
Roland Weber
2c2dd57f72
HTTPCLIENT-742: common interface for HttpRoute and RouteTracker
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@620254 13f79535-47bb-0310-9956-ffa450edef68
2008-02-10 10:18:48 +00:00
Roland Weber
7c53de5b93
HTTPCLIENT-726: test for spurious wakeups
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@619610 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 20:01:04 +00:00
Roland Weber
2d0496fdd1
fixed and extended JavaDocs
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@619550 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 18:37:21 +00:00
Roland Weber
51396fcf43
beautified NO_HOST, slightly
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@619535 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 18:11:17 +00:00
Oleg Kalnichevski
aa020a5c0d
HTTPCLIENT-643: Automatic connect fail-over for multi-home remote servers
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@619163 13f79535-47bb-0310-9956-ffa450edef68
2008-02-06 21:41:06 +00:00
Oleg Kalnichevski
5349fe9f8b
HTTPCLIENT-733: Added HTTP DELETE method
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@618343 13f79535-47bb-0310-9956-ffa450edef68
2008-02-04 17:44:59 +00:00
Oleg Kalnichevski
4f6599c959
HTTPCLIENT-738: Renamed o.a.http.conn.ssl.HostnameVerifier to o.a.http.conn.ssl.X509HostnameVerifier
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@618309 13f79535-47bb-0310-9956-ffa450edef68
2008-02-04 16:01:24 +00:00
Oleg Kalnichevski
137da8207d
HTTPCLIENT-739: CookieIdentityComparator and CookiePathComparator now implement Serializable
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@618308 13f79535-47bb-0310-9956-ffa450edef68
2008-02-04 15:51:19 +00:00
Roland Weber
55ffbe1b6c
tests for hierarchical unsetting of default proxy
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@618138 13f79535-47bb-0310-9956-ffa450edef68
2008-02-04 00:58:42 +00:00
Roland Weber
b0dc5a5d6a
more tests for route params, coverage complete
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@618133 13f79535-47bb-0310-9956-ffa450edef68
2008-02-04 00:29:06 +00:00
Roland Weber
1892a783cc
first tests for route params
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@618122 13f79535-47bb-0310-9956-ffa450edef68
2008-02-03 23:26:29 +00:00
Roland Weber
6963674cd6
HTTPCLIENT-735: explicit unsetting of DEFAULT_PROXY and FORCED_ROUTE
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@618119 13f79535-47bb-0310-9956-ffa450edef68
2008-02-03 23:14:50 +00:00
Roland Weber
38761e7e46
HTTPCLIENT-723: basic test coverage for ProxySelectorRoutePlanner
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@618048 13f79535-47bb-0310-9956-ffa450edef68
2008-02-03 18:14:48 +00:00
Roland Weber
3fc63457df
release notes and an exception punctuation
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@618020 13f79535-47bb-0310-9956-ffa450edef68
2008-02-03 17:06:26 +00:00
Roland Weber
d3353f00e8
HTTPCLIENT-740: start connection GC thread in extra call after construction
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@618019 13f79535-47bb-0310-9956-ffa450edef68
2008-02-03 17:02:31 +00:00
Oleg Kalnichevski
0f561bdf2b
HTTPCLIENT-741: AbstractClientConnAdapter#abortConnection() no longer releases the wrapped connection back to the connection manager. The wrapped connection gets shut down, but remains attached to the adapter. The connection is expected to be released back to the connection manager by the request execution thread.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@617839 13f79535-47bb-0310-9956-ffa450edef68
2008-02-02 17:38:07 +00:00
Oleg Kalnichevski
6d1391a332
HTTPCLIENT-741: Ensure thread safety for AbstractClientConnAdapter and its subclasses
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@617817 13f79535-47bb-0310-9956-ffa450edef68
2008-02-02 15:47:07 +00:00
Sebastian Bazley
8c08ae3178
Fixup odd tab usage
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@617645 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 21:05:31 +00:00
Sebastian Bazley
13d6dc3da4
Fixup identation problems caused by Eclipse autocorrect when adding @Override
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@617644 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 21:04:09 +00:00
Sebastian Bazley
430d7d10cb
Integer|Long.valueOf() are cheaper than new Integer()|Long()
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@617643 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 20:56:12 +00:00
Sebastian Bazley
553a26bc1b
Fixup identation problems caused by Eclipse autocorrect when adding @Override
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@617642 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 20:54:07 +00:00
Sebastian Bazley
c953589141
Fixup identation problems caused by Eclipse autocorrect when adding @Override
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@617638 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 20:49:26 +00:00
Roland Weber
799365d07a
HTTPCLIENT-736: SchemeRegistry instead of ConnectionManager
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@617616 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 19:27:30 +00:00
Roland Weber
27f4cee3c5
HTTPCLIENT-737 fixed
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@617581 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 18:01:01 +00:00
Sebastian Bazley
9b592fd961
Add missing @Override markers
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@617233 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 20:38:04 +00:00
Sebastian Bazley
2cc2818642
Removing unnecessary casts
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@617207 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 20:14:12 +00:00
Sebastian Bazley
8c73effc71
Fix Javadoc complaint and remove unnecessary casts
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@617206 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 20:11:43 +00:00
Sebastian Bazley
31488a0220
Fix Javadoc complaints
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@617193 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 19:26:47 +00:00
Roland Weber
632bf9aba6
attribute visibility and explicit ProxySelector
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@617184 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 18:42:19 +00:00
Roland Weber
91f7ef4cef
removed wrong comments
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@617179 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 18:28:24 +00:00
Oleg Kalnichevski
291da5706e
Made constructor public
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@616910 13f79535-47bb-0310-9956-ffa450edef68
2008-01-30 21:33:44 +00:00
Oleg Kalnichevski
da00b07129
HTTPCLIENT-734: Set release trigger on a managed connection as soon as it is allocated by the connection manager
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@615584 13f79535-47bb-0310-9956-ffa450edef68
2008-01-27 12:07:42 +00:00
Oleg Kalnichevski
49ba9e65e6
Replaced CharArrayBuffer with the JRE standard StringBuilder in all instances where CharArrayBuffer is not being used for building HTTP headers
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@615228 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 14:12:39 +00:00
Oleg Kalnichevski
d605c403eb
HTTPCLIENT-730: Fixed rewriting of URIs containing escaped characters (missed one rewrite)
...
Contributed by Sam Berlin <sberlin at gmail.com> and Oleg Kalnichevski
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@614927 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 17:00:09 +00:00
Oleg Kalnichevski
7c4f0f14ca
HTTPCLIENT-730: Fixed rewriting of URIs containing escaped characters
...
Contributed by Sam Berlin <sberlin at gmail.com> and Oleg Kalnichevski
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@614925 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 16:53:22 +00:00
Oleg Kalnichevski
c8dd44d901
Upgraded HttpCore dependency to 4.0-beta1
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@614494 13f79535-47bb-0310-9956-ffa450edef68
2008-01-23 11:12:51 +00:00
Oleg Kalnichevski
f3ced2556a
HTTPCLIENT-667:
...
* Completed 'best match' cookie spec implementation
* Added test coverage
* Made the 'best match' cookie policy default
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@613865 13f79535-47bb-0310-9956-ffa450edef68
2008-01-21 12:04:30 +00:00
Oleg Kalnichevski
6e68e5ec92
First take at the 'best match' cookie spec
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@613707 13f79535-47bb-0310-9956-ffa450edef68
2008-01-21 00:28:37 +00:00
Roland Weber
8a300abec9
fixed JavaDoc warnings
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@613656 13f79535-47bb-0310-9956-ffa450edef68
2008-01-20 19:06:56 +00:00
Roland Weber
bcc2848421
HTTPCLIENT-729: moved HttpRoute and friends to conn.routing
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@613654 13f79535-47bb-0310-9956-ffa450edef68
2008-01-20 19:00:19 +00:00
Oleg Kalnichevski
dfffbc9a3c
Fixed incorrect handling of redirect locations with the query component
...
Contributed by Johannes Koch <johannes.koch at fit.fraunhofer.de>
Reviewed by Oleg Kalnichevski
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@610838 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 16:31:32 +00:00
Oleg Kalnichevski
5709949205
Renamed SimpleParamStack to DefaultedHttpParams; removed #isParameterSet method from the HttpParams interface
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@610764 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 12:04:10 +00:00
Oleg Kalnichevski
96f2c55a3c
Replaced HTTP parameter linking with a simple child/parent stack
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@610470 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 17:18:45 +00:00
Oleg Kalnichevski
33498f875a
Log HTTP parameter values in ClientParamsStack#getParameter
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@610052 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 16:24:51 +00:00
Roland Weber
74f349b0c5
tsccm test coverage
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@609547 13f79535-47bb-0310-9956-ffa450edef68
2008-01-07 09:49:51 +00:00
Roland Weber
22cbf65e15
pointing component and module stylesheets to hc.apache.org
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@609527 13f79535-47bb-0310-9956-ffa450edef68
2008-01-07 07:52:29 +00:00
Roland Weber
f9db56cab2
tests for WaitingThread class
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@609389 13f79535-47bb-0310-9956-ffa450edef68
2008-01-06 19:57:05 +00:00
Oleg Kalnichevski
931953f769
HTTPCORE-136: Added #removeParameter
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@609315 13f79535-47bb-0310-9956-ffa450edef68
2008-01-06 14:14:00 +00:00
Roland Weber
df9d1ddc2c
serialVersionUID attributes are private
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@609105 13f79535-47bb-0310-9956-ffa450edef68
2008-01-05 08:55:00 +00:00
Roland Weber
5d43cf9acb
updated copyright years
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@608005 13f79535-47bb-0310-9956-ffa450edef68
2008-01-02 04:52:27 +00:00
Roland Weber
98e8713c02
fixed JavaDoc warning
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@607433 13f79535-47bb-0310-9956-ffa450edef68
2007-12-29 15:51:11 +00:00
Roland Weber
1d3425c2db
HTTPCLIENT-725: time unit when closing idle connections
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@607432 13f79535-47bb-0310-9956-ffa450edef68
2007-12-29 15:50:02 +00:00
Roland Weber
d1a4c2ce6d
HTTPCLIENT-725: time unit when getting a connection
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@607430 13f79535-47bb-0310-9956-ffa450edef68
2007-12-29 15:39:11 +00:00
Roland Weber
7ec734211f
HTTPCLIENT-725: use factory methods
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@607426 13f79535-47bb-0310-9956-ffa450edef68
2007-12-29 15:16:51 +00:00
Roland Weber
6830f05aab
HTTPCLIENT-725: use deadline instead of adjusted timeout interval
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@607424 13f79535-47bb-0310-9956-ffa450edef68
2007-12-29 15:02:49 +00:00
Roland Weber
540984183f
HTTPCLIENT-677: no Thread.interrupt() for shutdown
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@607421 13f79535-47bb-0310-9956-ffa450edef68
2007-12-29 14:40:44 +00:00
Roland Weber
7a2a85f25e
HTTPCLIENT-677: don't use interrupt for regular wakeup
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@607293 13f79535-47bb-0310-9956-ffa450edef68
2007-12-28 17:25:23 +00:00
Roland Weber
a453692c09
HTTPCLIENT-677: switching to new WaitingThread class
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@607289 13f79535-47bb-0310-9956-ffa450edef68
2007-12-28 17:08:13 +00:00
Roland Weber
caf0b10534
HTTPCLIENT-677: replacing synchronized with Lock/Condition
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@607287 13f79535-47bb-0310-9956-ffa450edef68
2007-12-28 16:59:17 +00:00
Roland Weber
2e6c2957ef
fixed JavaDoc warning
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@607238 13f79535-47bb-0310-9956-ffa450edef68
2007-12-28 13:17:00 +00:00
Roland Weber
2403daf243
added Apache header to apt files
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@607237 13f79535-47bb-0310-9956-ffa450edef68
2007-12-28 13:15:52 +00:00
Roland Weber
18fc621d22
HTTPCLIENT-716: removed context lookup for forced route
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@606453 13f79535-47bb-0310-9956-ffa450edef68
2007-12-22 14:24:30 +00:00
Roland Weber
e127f2278d
HTTPCLIENT-723: initial implementation, completely untested
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@606452 13f79535-47bb-0310-9956-ffa450edef68
2007-12-22 14:08:56 +00:00
Roland Weber
298a16321c
HTTPCLIENT-716: new params for route planner, including a forced route
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@606447 13f79535-47bb-0310-9956-ffa450edef68
2007-12-22 13:04:02 +00:00
Roland Weber
2f98b75ee0
removed param name from HttpConnParams, it's in ConnRoutePNames
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@606425 13f79535-47bb-0310-9956-ffa450edef68
2007-12-22 08:54:55 +00:00
Roland Weber
8ea6827dc2
HTTPCLIENT-712: route tracker test coverage back to 100%
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@606189 13f79535-47bb-0310-9956-ffa450edef68
2007-12-21 13:12:18 +00:00
Roland Weber
2016962d6f
HTTPCLIENT-712: removed deprecated single proxy constructor
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@606186 13f79535-47bb-0310-9956-ffa450edef68
2007-12-21 13:02:37 +00:00
Roland Weber
789bc843c0
HTTPCLIENT-712: removed deprecated proxy chain constructor, added testcase for null enums
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@606184 13f79535-47bb-0310-9956-ffa450edef68
2007-12-21 12:58:07 +00:00
Roland Weber
52cb8d3def
HTTPCLIENT-712: added enums for tunnel and layer flags
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@606103 13f79535-47bb-0310-9956-ffa450edef68
2007-12-21 05:44:40 +00:00
Oleg Kalnichevski
78f79461a1
Added mandatory links to ASF wide resources
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@605045 13f79535-47bb-0310-9956-ffa450edef68
2007-12-17 23:33:05 +00:00
Oleg Kalnichevski
7156b09760
Web site fixes
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@604934 13f79535-47bb-0310-9956-ffa450edef68
2007-12-17 17:13:39 +00:00
Oleg Kalnichevski
30d4733d06
POM reflecting promotion to the TLP status
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@604869 13f79535-47bb-0310-9956-ffa450edef68
2007-12-17 13:54:38 +00:00
Oleg Kalnichevski
f696e1f684
HTTPCLIENT-718: SSL verification occurs before setSoTimeout, which can lead to hangs
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@604462 13f79535-47bb-0310-9956-ffa450edef68
2007-12-15 17:46:43 +00:00
Oleg Kalnichevski
2370dc5fd3
CookieStore converted to generics
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@604434 13f79535-47bb-0310-9956-ffa450edef68
2007-12-15 14:45:48 +00:00
Oleg Kalnichevski
d417db6bba
HTTPCLIENT-711: Bad route computed for redirected requests
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@604433 13f79535-47bb-0310-9956-ffa450edef68
2007-12-15 14:35:20 +00:00
Roland Weber
f1f1a7a72c
cleanup and accessors in RouteSpecificPool
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@604259 13f79535-47bb-0310-9956-ffa450edef68
2007-12-14 19:05:02 +00:00
Roland Weber
289c793a54
use Queue interface in ConnPoolByRoute
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@604252 13f79535-47bb-0310-9956-ffa450edef68
2007-12-14 18:43:46 +00:00
Roland Weber
8941651d8a
fixed JavaDoc warning
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@604248 13f79535-47bb-0310-9956-ffa450edef68
2007-12-14 18:30:53 +00:00
Roland Weber
494daec53f
HTTPCLIENT-715: RoutedRequest moved to impl.client package
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603981 13f79535-47bb-0310-9956-ffa450edef68
2007-12-13 19:00:22 +00:00
Roland Weber
c86b3b02bd
HTTPCLIENT-715: changed more tests and examples to not use RoutedRequest
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603977 13f79535-47bb-0310-9956-ffa450edef68
2007-12-13 18:54:50 +00:00
Roland Weber
389cd303f2
HTTPCLIENT-715: changed tests and one example to not use RoutedRequest
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603969 13f79535-47bb-0310-9956-ffa450edef68
2007-12-13 18:30:18 +00:00
Roland Weber
92a3847e4c
HTTPCLIENT-715: one of the RoutedRequest methods removed from HttpClient interface
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603966 13f79535-47bb-0310-9956-ffa450edef68
2007-12-13 18:15:11 +00:00