Commit Graph

915 Commits

Author SHA1 Message Date
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 0af4f398c0 Link examples from 4.0.x branch instead of trunk
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@824695 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 11:15:48 +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 14255dd491 HTTPCLIENT-834: Tutorial section on transparent content encoding support
Contributed by James Abley <james.abley at gmail.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@822238 13f79535-47bb-0310-9956-ffa450edef68
2009-10-06 12:21:50 +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 91662f97ad Brushed up SPNEGO related content
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@819115 13f79535-47bb-0310-9956-ffa450edef68
2009-09-26 11:57:23 +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 5d2ebe9615 Added ASL header
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@814312 13f79535-47bb-0310-9956-ffa450edef68
2009-09-13 13:31:06 +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
Sebastian Bazley 71a76c6b22 Ignore PMD settings file
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@813026 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 16:11:45 +00:00
Sebastian Bazley 9abc07295f Ignore PMD settings file
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@813022 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 16:08:28 +00:00
Sebastian Bazley f5ac373f21 maven-bundle-plugin version now in parent pom
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@813020 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 16:06:39 +00:00
Sebastian Bazley 59ceb68a20 Ignore PMD settings file
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@813016 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 16:04:22 +00:00
Sebastian Bazley dcd9abca6f Common docbkx-maven-plugin configuration now in parent pom
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@813009 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 15:53:58 +00:00
Sebastian Bazley ed511449da Show titles in bookmark pane
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@812710 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 22:08:37 +00:00
Oleg Kalnichevski d2b10048b9 HTTPCLIENT-874: Override method MultipartEntity.addPart so that applications may use FormBodyPart
Contributed by Gerald Turner <gturner at unzane.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@811556 13f79535-47bb-0310-9956-ffa450edef68
2009-09-04 21:22:17 +00:00
Oleg Kalnichevski fdfded17c2 HTTPCLIENT-871: Add FileBody constructor with explicit filename
Contributed by Gerald Turner <gturner at unzane.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@811126 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 21:15:15 +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 275ab741da Fix up SVN properties
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@807956 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 10:40:52 +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
Sebastian Bazley 12a87ad4b1 Remove JCIP exclusion as no longer needed
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@807853 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 23:37:10 +00:00
Oleg Kalnichevski 957dcad26a HTTPCLIENT-866: added script to convert custom annotations to jcip-annotations
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@807758 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 18:45:36 +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
Sebastian Bazley 926488db2e HTTPCLIENT-869 - Incorrect/incomplete product name in META-INF/NOTICE file
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@807559 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 11:13:32 +00:00
Sebastian Bazley eefef269a9 Remove sub-component name from main NOTICE file
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@807555 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 11:12:32 +00:00
Oleg Kalnichevski b0f92cd1b0 HTTPCLIENT-868: Add anchors to documentation sections
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@806493 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 11:01:58 +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