Oleg Kalnichevski
ca86507442
Updated POMs for the 4.1-alpha2 release
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@943642 13f79535-47bb-0310-9956-ffa450edef68
2010-05-12 19:23:18 +00:00
Sebastian Bazley
87273f1751
Make new immutable private fields final
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@943635 13f79535-47bb-0310-9956-ffa450edef68
2010-05-12 18:55:24 +00:00
Oleg Kalnichevski
13f31eb2db
HTTPCLIENT-936: Fixed bug causing NPE or an infinite loop in the authentication code in case of a SPNEGO authentication failure
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@943620 13f79535-47bb-0310-9956-ffa450edef68
2010-05-12 18:33:17 +00:00
Oleg Kalnichevski
bb0ecdbcb4
HTTPCLIENT-940: deprecated methods dependent on the default charset
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@943614 13f79535-47bb-0310-9956-ffa450edef68
2010-05-12 18:20:11 +00:00
Oleg Kalnichevski
c7f3b744e6
HTTPCLIENT-936: Test cases
...
Contributed by Francois Rigault <francois dot rigault.amadeus.com>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@943284 13f79535-47bb-0310-9956-ffa450edef68
2010-05-11 20:36:26 +00:00
Sebastian Bazley
615001b2ea
No need to expose mutable arrays outside the class
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@943278 13f79535-47bb-0310-9956-ffa450edef68
2010-05-11 20:29:17 +00:00
Oleg Kalnichevski
7381110b46
HTTPCLIENT-939: 302 without redirect location should not cause a protocol exception
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@943247 13f79535-47bb-0310-9956-ffa450edef68
2010-05-11 19:49:38 +00:00
Oleg Kalnichevski
2b9d94af67
HTTPCLIENT-933: javadoc improvements
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@940214 13f79535-47bb-0310-9956-ffa450edef68
2010-05-02 13:20:07 +00:00
Sebastian Bazley
b2deb7e3ca
Javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@940074 13f79535-47bb-0310-9956-ffa450edef68
2010-05-01 16:25:44 +00:00
Sebastian Bazley
effe3abe30
Stop warning about deliberate unnecessary cast
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@940070 13f79535-47bb-0310-9956-ffa450edef68
2010-05-01 16:19:18 +00:00
Sebastian Bazley
955f47e6f5
HTTPCLIENT-932 Fix possible NPE - use sslsock rather than sock
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@940069 13f79535-47bb-0310-9956-ffa450edef68
2010-05-01 16:16:59 +00:00
Sebastian Bazley
64c00009a4
Add ThreadSafe annotation
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@939872 13f79535-47bb-0310-9956-ffa450edef68
2010-04-30 23:15:45 +00:00
Sebastian Bazley
0dcc10684f
Fix URL so it is guaranteed invalid forever.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@939870 13f79535-47bb-0310-9956-ffa450edef68
2010-04-30 23:03:57 +00:00
Oleg Kalnichevski
160af55cb1
Migrated test cases to JUnit 4.x
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@938585 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 18:02:08 +00:00
Oleg Kalnichevski
4defb0689f
TABS -> SPACES
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@937479 13f79535-47bb-0310-9956-ffa450edef68
2010-04-23 19:19:23 +00:00
Oleg Kalnichevski
2fd0728ca2
Make it easier to support connections via SOCKS proxies
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@937235 13f79535-47bb-0310-9956-ffa450edef68
2010-04-23 10:30:24 +00:00
Oleg Kalnichevski
1c9e9c1e05
Added connect via a SOCKS proxy example
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@937217 13f79535-47bb-0310-9956-ffa450edef68
2010-04-23 09:46:21 +00:00
Oleg Kalnichevski
0236581441
Removed calls to deprecated methods
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@937204 13f79535-47bb-0310-9956-ffa450edef68
2010-04-23 09:18:11 +00:00
Sebastian Bazley
a41e4366f5
Javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@936335 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 14:47:14 +00:00
Sebastian Bazley
2e1863f080
Javadoc; missing @Overrides
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@936334 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 14:45:06 +00:00
Sebastian Bazley
53d61aa4c6
Unnecessary casts
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@936332 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 14:42:47 +00:00
Sebastian Bazley
8d89fa2657
Replace obsolete ${pom.*} with ${project.*}
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@936249 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 10:51:40 +00:00
Oleg Kalnichevski
0f538860bd
HTTPCLIENT-909: upgrade all default socket factories to use SO_REUSEADDR parameter
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@934106 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 18:42:16 +00:00
Oleg Kalnichevski
c922b95f71
* Extended SSLSocketFactory with a mechanism to bypass the standard cert trust check (primarily to simplify dealing with self-signed certs)
...
* Refactored local test server
* Added more SSL tests
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@933731 13f79535-47bb-0310-9956-ffa450edef68
2010-04-13 18:22:25 +00:00
Oleg Kalnichevski
c80ee8a78d
HTTPCLIENT-901: pass HttpContext as a parameter to the AuthScheme#authenticate. Some complex auth scheme may require access to the execution context in order to work
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@932051 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 18:29:52 +00:00
Oleg Kalnichevski
42b6aa2f93
HTTPCLIENT-898: Improved multihome network support
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@932018 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 17:26:55 +00:00
Oleg Kalnichevski
14a4e09aa8
Removed deprecated HTTP parameters
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@932014 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 17:21:19 +00:00
Oleg Kalnichevski
8de26bac03
HTTPCLIENT-898: Refactored socket factory API (new socket factory interfaces are better suited for multihome hosts)
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@931624 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 17:28:15 +00:00
Oleg Kalnichevski
9b7b9c9ce1
HTTPCLIENT-930: Added protected #createLocationURI method to the DefaultRedirectStrategy
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@930560 13f79535-47bb-0310-9956-ffa450edef68
2010-04-03 18:36:31 +00:00
Oleg Kalnichevski
ba748bf20c
HTTPCLIENT-929: Request with two forward slashes for path fails
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@930558 13f79535-47bb-0310-9956-ffa450edef68
2010-04-03 18:16:40 +00:00
Oleg Kalnichevski
c1c6ba636a
Renamed instance vars
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@930353 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 18:54:49 +00:00
Oleg Kalnichevski
0be39371e9
Removed calls to deprecated methods
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@930351 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 18:39:50 +00:00
Oleg Kalnichevski
680d449797
HTTPCLIENT-928: RedirectLocations to maintain a list of all redirect URIs
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@930221 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 10:03:44 +00:00
Oleg Kalnichevski
46a08fbedb
Added missing @since tags
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@919994 13f79535-47bb-0310-9956-ffa450edef68
2010-03-07 13:39:41 +00:00
Oleg Kalnichevski
a66a88cb8f
Fixed time zone specific test case
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@919448 13f79535-47bb-0310-9956-ffa450edef68
2010-03-05 15:26:18 +00:00
Oleg Kalnichevski
cb693cae40
Fixed time zone specific test case
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@919424 13f79535-47bb-0310-9956-ffa450edef68
2010-03-05 14:08:56 +00:00
Oleg Kalnichevski
1387923be8
HTTPCLIENT-923: NetscapeDraftSpec to allow two digit year in the expiry attribute
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@919394 13f79535-47bb-0310-9956-ffa450edef68
2010-03-05 12:46:10 +00:00
Sebastian Bazley
47ffa72411
Tab police
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@917639 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 18:39:29 +00:00
Oleg Kalnichevski
d5d5914de5
Replaced synchronized HashMap with ConcurrentHashMap
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@916946 13f79535-47bb-0310-9956-ffa450edef68
2010-02-27 12:10:19 +00:00
Oleg Kalnichevski
1628039b85
HTTPCLIENT-916: UsernamePasswordCredentials, NTUserPrincipal, BasicClientCookie, BasicClientCookie2 and BasicCookieStore made Serializable
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@916658 13f79535-47bb-0310-9956-ffa450edef68
2010-02-26 12:19:06 +00:00
Oleg Kalnichevski
bac075735d
HTTPCLIENT-911: test whether redirect URL contains a valid hostname
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@916645 13f79535-47bb-0310-9956-ffa450edef68
2010-02-26 11:01:12 +00:00
Oleg Kalnichevski
39a0d0a620
HTTPCLIENT-915: mechanism to attatch user define attributes to connections
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@915013 13f79535-47bb-0310-9956-ffa450edef68
2010-02-22 18:45:55 +00:00
Oleg Kalnichevski
c5f52dc57d
HTTPCLIENT-911: improved handling of invalid request uris (host name containing an underscore)
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@909384 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 12:42:45 +00:00
Sebastian Bazley
a2ff2dc9dd
Make inner class static
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@899963 13f79535-47bb-0310-9956-ffa450edef68
2010-01-16 14:27:15 +00:00
Sebastian Bazley
0198742071
Unused variables
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@899962 13f79535-47bb-0310-9956-ffa450edef68
2010-01-16 14:26:57 +00:00
Sebastian Bazley
43ef63586f
Unnecessary override of tearDown() which did not invoke super.tearDown()
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@899961 13f79535-47bb-0310-9956-ffa450edef68
2010-01-16 14:26:17 +00:00
Sebastian Bazley
86ac6922fc
HTTPCLIENT-906 Minor performance improvement to IdleConnectionHandler
...
Replace keySet() + get() with entrySet()
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@899957 13f79535-47bb-0310-9956-ffa450edef68
2010-01-16 14:11:50 +00:00
Sebastian Bazley
c5131c62c9
Remove autoboxing
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@899517 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 02:13:16 +00:00
Sebastian Bazley
bde82211f3
Javadoc fixes
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@899516 13f79535-47bb-0310-9956-ffa450edef68
2010-01-15 02:12:50 +00:00
Sebastian Bazley
e3c2e7b208
HTTPCLIENT-903 Use ConcurrentHashMap instead of [Linked]HashMap for thread-safety
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@897643 13f79535-47bb-0310-9956-ffa450edef68
2010-01-10 14:52:02 +00:00
Sebastian Bazley
14b26e2a33
HTTPCLIENT-903 Use ConcurrentHashMap instead of [Linked]HashMap for thread-safety
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@897641 13f79535-47bb-0310-9956-ffa450edef68
2010-01-10 14:23:56 +00:00
Oleg Kalnichevski
c59bd4f3ac
HTTPCLIENT-902: HttpRequestRetryHandler not called on I/O exceptions thrown when opening a new connection
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@897305 13f79535-47bb-0310-9956-ffa450edef68
2010-01-08 19:17:48 +00:00
Oleg Kalnichevski
4096a39651
HTTPCLIENT-901: support for execution context aware auth schemes
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@889860 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 23:34:23 +00:00
Oleg Kalnichevski
39065c31c9
HTTPCLIENT-862: bug fix
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@889756 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 18:38:38 +00:00
Oleg Kalnichevski
da0a038a12
Removed clover2 plugin from top pom.xml due to compatibility issues between clover2 and bundle plugins
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@889413 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 20:25:52 +00:00
Oleg Kalnichevski
f63ad544e4
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@887134 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 09:48:44 +00:00
Oleg Kalnichevski
39fe584a96
[maven-release-plugin] prepare release 4.1-alpha1
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@887132 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 09:47:57 +00:00
Oleg Kalnichevski
ca7284cb50
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@886284 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 19:36:42 +00:00
Oleg Kalnichevski
c4b16e7451
[maven-release-plugin] prepare release 4.1-alpha1
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@886282 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 19:35:54 +00:00
Oleg Kalnichevski
9f580578d9
HTTPCLIENT-895: Log object lookups by short lived components impair performance
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@885900 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 20:01:44 +00:00
Oleg Kalnichevski
3ed02317fa
Javadoc fix
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@884692 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 20:36:48 +00:00
Oleg Kalnichevski
5fefbfaa1b
Fixed binary compatibility breakage
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@884245 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 20:13:14 +00:00
Oleg Kalnichevski
9d55b80d47
HTTPCLIENT-889: 'expect: continue' handshake disabled per default
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@883868 13f79535-47bb-0310-9956-ffa450edef68
2009-11-24 20:52:31 +00:00
Oleg Kalnichevski
4425aaef77
Use ConnPerRoute interface to look up maxEntries value for RouteSpecificPools
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@883867 13f79535-47bb-0310-9956-ffa450edef68
2009-11-24 20:48:21 +00:00
Oleg Kalnichevski
51645b1cdf
HTTPCLIENT-862: Extended client's redirect handling interface to allow control of the content of the redirect
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@883855 13f79535-47bb-0310-9956-ffa450edef68
2009-11-24 20:27:18 +00:00
Oleg Kalnichevski
f6699b27ff
HTTPCLIENT-872: HttpClient can now persist authentication data between request executions as long as they share the same execution context. It has also become much easier to make HttpClient authenticate preemptively by pre-populating authentication data cache
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@881935 13f79535-47bb-0310-9956-ffa450edef68
2009-11-18 21:07:35 +00:00
Sebastian Bazley
b51b11bb91
Javadoc fixes; add missing @Deprecated markers
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@833249 13f79535-47bb-0310-9956-ffa450edef68
2009-11-06 00:01:35 +00:00
Oleg Kalnichevski
6df23379f7
HTTPCLIENT-884: Charset omitted from UrlEncodedFormEntity Content-Type header
...
Contributed by Jared Jacobs <jmjacobs at cs.stanford.edu>
HTTPCLIENT-885: URLEncodedUtils fails to parse form-url-encoded entities that specify a charset
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@832855 13f79535-47bb-0310-9956-ffa450edef68
2009-11-04 19:38:53 +00:00
Oleg Kalnichevski
20db76c05a
HTTPCLIENT-834: GzipDecompressingEntity and DeflateDecompressingEntity classes now override the#writeTo()
...
Contributed by James Abley <james.abley at gmail.com>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@832847 13f79535-47bb-0310-9956-ffa450edef68
2009-11-04 19:16:48 +00:00
Oleg Kalnichevski
5c9850a7a9
SSL test cases to fall back onto SunX509 implementation of SSL classes the default implementation is not available / functional
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@831313 13f79535-47bb-0310-9956-ffa450edef68
2009-10-30 14:35:04 +00:00
Oleg Kalnichevski
9a5dac386f
HTTPCLIENT-883: SO_TIMEOUT is not reset on persistent (re-used) connections
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@829806 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26 14:06:58 +00:00
Oleg Kalnichevski
96b8e1d936
HTTPCLIENT-882: Auth state is not correctly updated if a successful NTLM authentication results in a redirect
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@829791 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26 13:38:39 +00:00
Oleg Kalnichevski
eb1205a223
HTTPCLIENT-881: More code cleanups
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@826690 13f79535-47bb-0310-9956-ffa450edef68
2009-10-19 14:35:03 +00:00
Oleg Kalnichevski
64c481f4bf
HTTPCLIENT-881: An I/O operation on an aborted or released connection will result in an InterruptedIOException
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@826037 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 19:00:17 +00:00
Oleg Kalnichevski
077281ba27
HTTPCLIENT-881: Methods mutating the internal state of the AbstractClientConnAdapter class and its subclasses made synchronized; ThreadSafeClientConnManager#releaseConnection method now synchronizes access to the BasicPooledConnAdapter instance
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@825999 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 16:52:30 +00:00
Oleg Kalnichevski
90f9e38b8d
HTTPCLIENT-881: It should be safe to release a connection from any thread. The old 'release from current thread hack' is no longer needed
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@825901 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 14:07:00 +00:00
Oleg Kalnichevski
4b422e1733
HTTPCLIENT-881: Fixed race condition in AbstractClientConnAdapter that makes it possible for an aborted connection to be returned to the pool
...
Contributed by Tim Boemker <tboemker at elynx.com>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@825864 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 12:22:27 +00:00
Oleg Kalnichevski
0b815c2505
HTTPCLIENT-824: Use only one immutable copy of HTTP protocol processor instead creating a new copy for every request execution
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@825464 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15 11:14:40 +00:00
Oleg Kalnichevski
01b7d5dc40
HTTPCLIENT-824: Use synchronized SyncBasicHttpParams instead of non-synchronized BasicHttpParams where HttpParams can be accessed simultaneously by multiple threads
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@824810 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 15:38:57 +00:00
Oleg Kalnichevski
dbd7dd0efd
HTTPCLIENT-832: Distinguish cookie format errors from violations of restrictions imposed by a cookie specification. In the latter case CookieRestrictionViolationException will be thrown
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@824685 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 10:52:28 +00:00
Oleg Kalnichevski
a09823ff00
* Removed superfluous SpnegoCreate flag
...
* Finalized SPNEGO example and tutorial
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@824409 13f79535-47bb-0310-9956-ffa450edef68
2009-10-12 16:26:38 +00:00
Sebastian Bazley
7c2cc42b1f
Fix remaining StringBuffer => StringBuilder
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@823859 13f79535-47bb-0310-9956-ffa450edef68
2009-10-10 14:17:58 +00:00
Oleg Kalnichevski
142997acd6
HTTPCLIENT-880: Check for correct content-type in URLEncodedUtils not working for encoding-suffixes
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@822258 13f79535-47bb-0310-9956-ffa450edef68
2009-10-06 13:03:39 +00:00
Oleg Kalnichevski
30b38eb6e4
Simplified configuration of connection managers. Total connection maximum and maximum connection per route limits can be set using methods of the class instead of HTTP parameters
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@820971 13f79535-47bb-0310-9956-ffa450edef68
2009-10-02 11:33:00 +00:00
Oleg Kalnichevski
09601a328f
Cleaned up examples
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@819114 13f79535-47bb-0310-9956-ffa450edef68
2009-09-26 11:56:06 +00:00
Oleg Kalnichevski
af4b944189
* Added HTTP parameters to define the order of preference for supported auth schemes for target host and proxy authentication
...
* Added SPNEGO auth policy
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@818601 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 19:35:03 +00:00
Oleg Kalnichevski
9cbf76568f
Fixed License header
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@818598 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 19:20:28 +00:00
Oleg Kalnichevski
62c8b079fe
Cleaned up Kerberos example a little
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@818596 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 19:19:05 +00:00
Oleg Kalnichevski
a0341a0a3f
Ignore I/O exception thrown by #close method. Original exception is more important
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@818595 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 19:17:32 +00:00
Oleg Kalnichevski
c246b98766
Tweak URI documentation as a result of discussion with Sebastian and Sam
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@818594 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 19:12:58 +00:00
Sebastian Bazley
ee4f9a4f7f
Tweak final URI documentation as suggested by Sam
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@818581 13f79535-47bb-0310-9956-ffa450edef68
2009-09-24 18:36:14 +00:00
Sebastian Bazley
0c1891b58f
Document how to find final URI
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@817653 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22 13:22:54 +00:00
Oleg Kalnichevski
39f46a9c2b
HTTPCLIENT-834: Transparent Content Coding support
...
* ContentEncodingProcessor split into RequestAcceptEncoding and ResponseContentEncoding protocol interceptors
Contributed by James Abley <james.abley at gmail.com>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@816583 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 10:59:35 +00:00
Oleg Kalnichevski
fb6d73ef38
HTTPCLIENT-523: SPNEGO auth scheme
...
* Updated example
* Minor code tweaks
Contributed by Matthew Stevenson <mavricknzwork at yahoo.dot>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@815735 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16 12:17:13 +00:00
Sebastian Bazley
1526683413
Add missing AL header
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@814532 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14 09:08:41 +00:00
Oleg Kalnichevski
d5b954aca9
HTTPCLIENT-523: SPNEGO auth scheme
...
Contributed by Matthew Stevenson <mavricknzwork at yahoo.com>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@814311 13f79535-47bb-0310-9956-ffa450edef68
2009-09-13 13:21:13 +00:00
Oleg Kalnichevski
5ce6fda4d2
Fixed license header
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@814282 13f79535-47bb-0310-9956-ffa450edef68
2009-09-13 08:34:50 +00:00
Oleg Kalnichevski
7a959d6306
HTTPCLIENT-834: Added ContentEncodingHttpClient
...
Contributed by James Abley <james.abley at gmail.com>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@814281 13f79535-47bb-0310-9956-ffa450edef68
2009-09-13 08:32:12 +00:00
Oleg Kalnichevski
2055915036
Upgraded HttpClient version to 4.1-alpha1-SNAPSHOT; upgraded HttpCore dependency to 4.1-alpha1
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@814026 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 20:53:19 +00:00
Oleg Kalnichevski
44ece542dc
HTTPCLIENT-875: DefaultClientConnectionOperator#openConnection doesn't update the connection state if the connection socket changed after the call to SocketFactory#connectSocket()
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@813104 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 20:31:05 +00:00
Oleg Kalnichevski
61551d1afe
Cleanup
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@811113 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 20:38:27 +00:00
Oleg Kalnichevski
fa541fccd2
Cleanup
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@811112 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 20:36:30 +00:00
Oleg Kalnichevski
d384ec4e3a
Merged /httpcomponents/httpclient/branches/branch_4_1:r755593-811107
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@811110 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 20:33:15 +00:00
Oleg Kalnichevski
9ce0d5d761
HTTPCLIENT-870: Incorrect Specification-Title in MANIFEST.MF
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@810804 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 08:14:36 +00:00
Sebastian Bazley
62f1705b0c
Might as well use original Javadoc
...
Changed RetentionPolicy to CLASS (i.e. the default)
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@807948 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 09:55:57 +00:00
Oleg Kalnichevski
33de23c102
HTTPCLIENT-866: removed dependency on jcip-annotations; replaced jcip annotations with custom ones based on jcip but with SOURCE retention policy; added attribution clauses to NOTICE.txt and LICENSE.txt
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@807756 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 18:37:59 +00:00
Sebastian Bazley
87dad42869
HTTPCLIENT-869 - Incorrect/incomplete product name in META-INF/NOTICE file
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@807564 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 11:20:00 +00:00
Oleg Kalnichevski
55e1294856
Added manifest entries
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@805937 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 19:14:28 +00:00
Oleg Kalnichevski
6515a9fcc8
Updated clirr & project reports
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@803989 13f79535-47bb-0310-9956-ffa450edef68
2009-08-13 19:02:40 +00:00
Oleg Kalnichevski
ed4418bda6
HttpClient 4.0.1-SNAPSHOT
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@801764 13f79535-47bb-0310-9956-ffa450edef68
2009-08-06 18:35:16 +00:00
Oleg Kalnichevski
0fa5a2e77c
[maven-release-plugin] prepare release 4.0
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@801758 13f79535-47bb-0310-9956-ffa450edef68
2009-08-06 18:25:57 +00:00
Sebastian Bazley
c94fb12752
Improve thread-safety
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@799233 13f79535-47bb-0310-9956-ffa450edef68
2009-07-30 10:52:00 +00:00
Sebastian Bazley
3629ccf108
Thread-safety: make protected fields final
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@797438 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 13:18:59 +00:00
Sebastian Bazley
35066eaff7
Oops - can't clone null ...
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@797280 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 00:30:43 +00:00
Sebastian Bazley
66dc2da9ff
Add thread-safety annotations
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@797270 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 00:03:52 +00:00
Sebastian Bazley
eee617209b
Add thread-safety annotations
...
Copy string array in constructor to avoid external changes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@797269 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 00:02:54 +00:00
Sebastian Bazley
49b68a54d8
Make private field final
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@797268 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 00:00:33 +00:00
Sebastian Bazley
025def7c3f
Document thread-safety of final fields
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@797254 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23 22:44:34 +00:00
Sebastian Bazley
8884e1b686
Annotate how non-final fields are made thread-safe
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@797253 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23 22:43:04 +00:00
Sebastian Bazley
15e6e9fc0b
Javadoc fixes
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@796665 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 11:11:37 +00:00
Oleg Kalnichevski
55d9c6f161
HTTPCLIENT-861: URI reference resolution fails examples in RFC 3986
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@794870 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16 21:30:38 +00:00
Oleg Kalnichevski
d780072ad5
Fixed compile breakage
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@794056 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 20:21:06 +00:00
Oleg Kalnichevski
3c93d00a74
HTTPCLIENT-860: HttpClient no longer converts redirects of PUT/POST to GET for status codes 301, 302, 307, as required by the HTTP spec
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@794051 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 20:12:27 +00:00
Oleg Kalnichevski
842a750509
Removed HeadURL, Revision and Date keywords from all source files
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@793668 13f79535-47bb-0310-9956-ffa450edef68
2009-07-13 19:16:48 +00:00
Oleg Kalnichevski
9a2a3cb732
HTTPCLIENT-859: CookieIdentityComparator now takes path attribute into consideration when comparing cookies
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@792645 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 19:29:11 +00:00
Oleg Kalnichevski
2b69ac0ae9
HttpClient will no longer send expired cookies back to the origin server
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@792269 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 19:10:52 +00:00
Oleg Kalnichevski
be2367cd91
Fixed warnings in Eclipse
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@792268 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 19:08:14 +00:00
Oleg Kalnichevski
db2d11720a
HTTPCLIENT-856: Proxy NTLM authentication no longer fails on a redirect to a different host
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@789408 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 18:43:51 +00:00
Oleg Kalnichevski
4569c7d8ea
Javadoc updates
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@788497 13f79535-47bb-0310-9956-ffa450edef68
2009-06-25 20:04:53 +00:00
Oleg Kalnichevski
cd6851f19a
Upgrade HttpClient version to 4.0-SNAPSHOT
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@788485 13f79535-47bb-0310-9956-ffa450edef68
2009-06-25 19:38:04 +00:00
Oleg Kalnichevski
bd2f049ada
HTTPCLIENT-841: removed connection garbage collection due to a memory leak
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@784361 13f79535-47bb-0310-9956-ffa450edef68
2009-06-13 10:13:36 +00:00
Oleg Kalnichevski
29b8b170e4
Added a more advanced protocol interceptor for generating Connection and Proxy-Connection request headers
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@783453 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 19:13:24 +00:00
Oleg Kalnichevski
642d0e242e
Updated report definitions
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@782313 13f79535-47bb-0310-9956-ffa450edef68
2009-06-06 22:03:11 +00:00
Oleg Kalnichevski
a056c12a1f
Javadoc fix
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@782102 13f79535-47bb-0310-9956-ffa450edef68
2009-06-05 19:11:44 +00:00
Oleg Kalnichevski
4f04500b22
Javadoc cleanups; fixed some binary incompatibilities with 4.0-beta1
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@781821 13f79535-47bb-0310-9956-ffa450edef68
2009-06-04 18:17:38 +00:00
Oleg Kalnichevski
9996dad49d
Follow-up to HTTPCLIENT-853
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@781075 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 16:18:12 +00:00
Oleg Kalnichevski
b71fefd093
HTTPCLIENT-853: Fixed bug causing invalid cookie origin port to be selected when the target is accessed on the default port and the connection is established via a proxy
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@780802 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 20:01:01 +00:00
Oleg Kalnichevski
6681a1193d
HTTPCLIENT-852: Fixed bug causing automatically retried redirects fail with CircularRedirectException
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@780611 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 10:39:05 +00:00
Oleg Kalnichevski
7d39f392f6
Fixed handling of the virtual host parameter. Virtual host parameter should not be used if the request has been redirected.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@780403 13f79535-47bb-0310-9956-ffa450edef68
2009-05-31 10:35:47 +00:00
Oleg Kalnichevski
b1db46db6c
Javadoc updates
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@779754 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 20:00:51 +00:00
Oleg Kalnichevski
28c9b07691
Javadoc cleanups
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@777904 13f79535-47bb-0310-9956-ffa450edef68
2009-05-23 12:41:02 +00:00
Oleg Kalnichevski
d715ace629
Javadoc updates
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@775317 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 20:32:30 +00:00
Oleg Kalnichevski
a757cafada
Javadoc cleanups
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@774460 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 18:13:35 +00:00
Oleg Kalnichevski
0e319ed85c
Javadoc cleanups
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@768736 13f79535-47bb-0310-9956-ffa450edef68
2009-04-26 18:36:14 +00:00
Oleg Kalnichevski
04fa90ceff
Made #revokeConnection() synchronized and alwaysShutDown final
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@768009 13f79535-47bb-0310-9956-ffa450edef68
2009-04-23 18:49:21 +00:00
Sebastian Bazley
5433ef9c77
Ensure finalize() always calls super.finalize()
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@767722 13f79535-47bb-0310-9956-ffa450edef68
2009-04-22 23:34:21 +00:00
Sebastian Bazley
1d0b945d90
Markup how fields are synchronized
...
Ensure finalize() always calls super.finalize()
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@767721 13f79535-47bb-0310-9956-ffa450edef68
2009-04-22 23:32:52 +00:00
Oleg Kalnichevski
ab954f255a
Javadoc cleanups
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@767659 13f79535-47bb-0310-9956-ffa450edef68
2009-04-22 21:04:47 +00:00
Oleg Kalnichevski
cd4de57a55
Made class thread-safe; cleaned up javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@767657 13f79535-47bb-0310-9956-ffa450edef68
2009-04-22 21:03:47 +00:00
Oleg Kalnichevski
4f51cdcf24
Javadoc updates and code cleanups
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@766758 13f79535-47bb-0310-9956-ffa450edef68
2009-04-20 17:15:05 +00:00
Oleg Kalnichevski
af182ce5e9
Javadoc cleanups
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@766180 13f79535-47bb-0310-9956-ffa450edef68
2009-04-17 23:39:31 +00:00
Oleg Kalnichevski
b44aee815b
Javadoc and code cleanups
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@765710 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 18:12:30 +00:00
Sebastian Bazley
0b44b69b29
Grammar police
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@765677 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 16:17:24 +00:00
Sebastian Bazley
62a4114ace
Make unchanging fields final
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@765676 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 16:16:54 +00:00
Sebastian Bazley
5c462fc22f
Make unchanging fields final
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@765675 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 16:15:51 +00:00
Sebastian Bazley
30d394e769
Ensure final String array cannot be changed accidentally or maliciously
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@765644 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 14:11:51 +00:00
Sebastian Bazley
cc297408f9
Document update
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@765642 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 14:09:18 +00:00
Sebastian Bazley
834c667310
Javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@765595 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 12:22:20 +00:00
Sebastian Bazley
78a0d3346d
Requires boolean, not Boolean
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@765591 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 12:17:11 +00:00
Oleg Kalnichevski
0b5dd9c3a5
Fixed problem with the default HTTP response parser failing to handle garbage preceding a valid HTTP response
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@765294 13f79535-47bb-0310-9956-ffa450edef68
2009-04-15 18:19:53 +00:00
Oleg Kalnichevski
ccfc5de212
Fixed bug causing empty input lines to be omitted from the wire log
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@764915 13f79535-47bb-0310-9956-ffa450edef68
2009-04-14 18:27:04 +00:00
Oleg Kalnichevski
c1a13dea57
Set session buffer size to 8192, if not set explicitly
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@764911 13f79535-47bb-0310-9956-ffa450edef68
2009-04-14 18:19:52 +00:00
Oleg Kalnichevski
a23c18ac1e
Javadoc updates
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@764588 13f79535-47bb-0310-9956-ffa450edef68
2009-04-13 19:53:25 +00:00
Oleg Kalnichevski
c74443f68b
Explicitly set default TcpNoDelay and socket buffer parameter values
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@764586 13f79535-47bb-0310-9956-ffa450edef68
2009-04-13 19:52:18 +00:00
Oleg Kalnichevski
dccecd2411
Added a test case for handling of authentication failures with non-repeatable requests
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@759942 13f79535-47bb-0310-9956-ffa450edef68
2009-03-30 12:33:25 +00:00
Oleg Kalnichevski
e2520f8509
Added test coverage for authentication
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@759926 13f79535-47bb-0310-9956-ffa450edef68
2009-03-30 11:34:33 +00:00
Sam Berlin
165507b8d7
include the cause of a NonRepeatableRequestException when failing.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@758447 13f79535-47bb-0310-9956-ffa450edef68
2009-03-25 22:05:45 +00:00
Oleg Kalnichevski
bc063a1ad0
HTTPCLIENT-837: Fixed problem with the wire log skipping zero byte values if read one byte at a time.
...
Contributed by Kirill Safonov <ksafonov at swiftteams.com>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@757528 13f79535-47bb-0310-9956-ffa450edef68
2009-03-23 20:14:05 +00:00
Sebastian Bazley
6b57ed5755
Concurrency documentation
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@756799 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 23:05:07 +00:00
Sebastian Bazley
7c1fa0fda3
Change JCIP dependency scope to provided
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@756524 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 15:23:10 +00:00
Sebastian Bazley
d5aa3eae89
Document thread-safety
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@756435 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 12:49:08 +00:00
Sebastian Bazley
df02f73742
Document not thread safe
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@756315 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 02:42:48 +00:00
Sebastian Bazley
322911cc02
All other accesses to numConnections use poolLock to lock.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@756314 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 02:33:50 +00:00
Sebastian Bazley
dd9e5e28ee
NotThreadSafe
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@756309 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 02:21:25 +00:00
Sebastian Bazley
c7e53d6acc
Unused import
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@756300 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 01:56:01 +00:00
Sebastian Bazley
208bcda71c
More Immutable classes
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@756299 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 01:54:42 +00:00
Sebastian Bazley
3994fe9af2
More Immutable classes
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@756298 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 01:54:11 +00:00
Sebastian Bazley
1326d80e52
Private Field is not updated, might as well be final
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@756297 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 01:53:34 +00:00
Sebastian Bazley
4753d7e3ac
More ThreadSafe and Immutable classes
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@756296 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 01:52:13 +00:00
Sebastian Bazley
e895b182a5
As with other methods, not currently thread-safe
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@756294 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 01:51:09 +00:00
Sebastian Bazley
f97f49b471
Make schemeRegistry final. This makes the class ThreadSafe
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@756183 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 20:41:46 +00:00
Oleg Kalnichevski
ac3eefa92a
Fixed potential thread-safety issue. Credits to Sebb
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@756157 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 19:53:53 +00:00
Sebastian Bazley
adb782ce7e
More non-threadsafe classes
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@755807 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 01:30:00 +00:00
Sebastian Bazley
a8571f883b
HTTPCLIENT-835 : No point having protected final fields and public getters
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@755793 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 00:01:31 +00:00
Sebastian Bazley
f3fdcc1a06
Document classes which are not thread-safe currently
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@755789 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 23:47:46 +00:00
Sebastian Bazley
cdc4fc628b
Some more immutable classes
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@755784 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 23:41:04 +00:00
Sebastian Bazley
5b44cc0938
Make AbstractAuthenticationHandler immutable by changing the List to unmodifiable
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@755783 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 23:38:11 +00:00
Sebastian Bazley
6c01316e2c
Document MT safety concern
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@755779 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 23:24:04 +00:00
Sebastian Bazley
fe0e5e9654
Add JCIP annotations
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@755466 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 03:37:07 +00:00
Sebastian Bazley
12545d7a13
Inline private init method so as to make class immutable
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@755462 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 02:44:13 +00:00
Sebastian Bazley
de1cead50d
Add JCIP annotations
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@755461 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 02:41:04 +00:00
Sebastian Bazley
2cc1241ed7
Make protected variables final to reduce multi-threading issues
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@755457 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 02:11:44 +00:00
Sebastian Bazley
087d6af97d
Fix alignment
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@755453 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 01:32:47 +00:00
Sebastian Bazley
65c8f4dabd
Add JCIP annotations dependency
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@755450 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 00:05:59 +00:00
Oleg Kalnichevski
48634b1b4b
Minor generics tweak
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@755398 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 21:05:22 +00:00
Oleg Kalnichevski
8e409a71d1
Automatically retry methods considered idempotent
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@755395 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 21:04:07 +00:00
Oleg Kalnichevski
bb15e4d9b3
HTTPCLIENT-833: fixed possible NPE
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@754998 13f79535-47bb-0310-9956-ffa450edef68
2009-03-16 20:33:39 +00:00
Sebastian Bazley
72eedbe0ea
Avoid possible NPE
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@753460 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 22:35:53 +00:00
Sebastian Bazley
0483252843
Remove unthrown Exception
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@753456 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 22:28:07 +00:00
Oleg Kalnichevski
8849e82869
* Cleaned up expired / idle connection eviction code
...
* Added sample of expired / idle connection eviction
* Cleaned up examples
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@749322 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 14:51:22 +00:00