Commit Graph

71 Commits

Author SHA1 Message Date
Roland Weber 61220f8af5 new connection interfaces, step 4 - first example, plus a debug contrib
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@492988 13f79535-47bb-0310-9956-ffa450edef68
2007-01-05 11:32:17 +00:00
Roland Weber 4fe52a15b9 new connection interfaces, step 3 - HTTPCLIENT-475
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@492424 13f79535-47bb-0310-9956-ffa450edef68
2007-01-04 06:33:16 +00:00
Roland Weber ceb4ed1d39 new connection interfaces, step 2 - return of the Operator
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@492299 13f79535-47bb-0310-9956-ffa450edef68
2007-01-03 20:58:12 +00:00
Roland Weber 4c84259042 JavaDoc build fixes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@492188 13f79535-47bb-0310-9956-ffa450edef68
2007-01-03 15:49:54 +00:00
Roland Weber 36c082fdfc JavaDoc fixes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@492183 13f79535-47bb-0310-9956-ffa450edef68
2007-01-03 15:36:59 +00:00
Roland Weber 661ee70ce0 new connection interfaces, step 1
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@492175 13f79535-47bb-0310-9956-ffa450edef68
2007-01-03 15:16:08 +00:00
Roland Weber fc00950965 HTTPCLIENT-475, take 1 with suggested modifications
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@490691 13f79535-47bb-0310-9956-ffa450edef68
2006-12-28 10:04:56 +00:00
Roland Weber 648b815f52 added NOTICE.txt, fixed license headers
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@489636 13f79535-47bb-0310-9956-ffa450edef68
2006-12-22 12:34:57 +00:00
Oleg Kalnichevski 81e5ce2d12 HTTPCLIENT-614: allow different strategies when checking CN of x509 cert
* Test coverage

Contributed by Julius Davies <juliusdavies at gmail.com>
Reviewed by Oleg Kalnichevski

git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@487346 13f79535-47bb-0310-9956-ffa450edef68
2006-12-14 20:49:34 +00:00
Oleg Kalnichevski dd9500e009 Ported AuthScheme and related classes from HttpClient 3.x to the new API
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@487318 13f79535-47bb-0310-9956-ffa450edef68
2006-12-14 19:42:40 +00:00
Oleg Kalnichevski af6f1134a2 Added o.a.http.auth package
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@486250 13f79535-47bb-0310-9956-ffa450edef68
2006-12-12 17:37:53 +00:00
Oleg Kalnichevski 62482e1439 Added o.a.http.auth package
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@486249 13f79535-47bb-0310-9956-ffa450edef68
2006-12-12 17:37:50 +00:00
Oleg Kalnichevski c76c1a0d7e Ported HttpConnectionManagerParams, MultiThreadedHttpConnectionManager and IdleConnectionHandler classes from HttpClient 3.x to the new API
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@486244 13f79535-47bb-0310-9956-ffa450edef68
2006-12-12 17:17:57 +00:00
Roland Weber 87ae8567e7 added encoding UTF-8 to <javac> tasks
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@486189 13f79535-47bb-0310-9956-ffa450edef68
2006-12-12 15:32:17 +00:00
Oleg Kalnichevski 2c48177a11 Added params package
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@486173 13f79535-47bb-0310-9956-ffa450edef68
2006-12-12 14:59:45 +00:00
Oleg Kalnichevski f2260d22e6 Ported HttpConfiguration, HttpConnection, HttpConnectionManager and SimpleHttpConnectionManager from HttpClient 3.x to the new API
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@484777 13f79535-47bb-0310-9956-ffa450edef68
2006-12-08 20:59:42 +00:00
Oleg Kalnichevski e9f86cb250 Fix for [HTTPCLIENT-613] https should check CN of x509 cert
Contributed by Julius Davies <juliusdavies at gmail.com>
Reviewed by Oleg Kalnichevski

git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@483925 13f79535-47bb-0310-9956-ffa450edef68
2006-12-08 10:48:30 +00:00
Oleg Kalnichevski 0ce0dbaa6d Moved some classes around
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@473983 13f79535-47bb-0310-9956-ffa450edef68
2006-11-12 16:18:18 +00:00
Oleg Kalnichevski 5367b431aa [HTTPCORE-14] Consider decoupling HttpHost and Scheme and moving Scheme, SocketFactory and SecureSocketFactory to HttpConn
Changelog:
----------
* Moved Scheme, SocketFactory, SecureSocketFactory and related classes to HttpConn 


git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@451422 13f79535-47bb-0310-9956-ffa450edef68
2006-09-29 20:15:32 +00:00
Oleg Kalnichevski 61f0758cc0 [HTTPCORE-14] Consider decoupling HttpHost and Scheme and moving Scheme, SocketFactory and SecureSocketFactory to HttpConn
Changelog:
----------
* Moved Scheme, SocketFactory, SecureSocketFactory and related classes to HttpConn 


git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@451415 13f79535-47bb-0310-9956-ffa450edef68
2006-09-29 20:11:15 +00:00
Oleg Kalnichevski 630148eb91 [HTTPCORE-14] Consider decoupling HttpHost and Scheme and moving Scheme, SocketFactory and SecureSocketFactory to HttpConn
Changelog:
----------
* Moved Scheme, SocketFactory, SecureSocketFactory and related classes to HttpConn 


git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@451413 13f79535-47bb-0310-9956-ffa450edef68
2006-09-29 20:08:44 +00:00
Oleg Kalnichevski 2801404f77 [HTTPCORE-14] Consider decoupling HttpHost and Scheme and moving Scheme, SocketFactory and SecureSocketFactory to HttpConn
Changelog:
----------
* Moved Scheme, SocketFactory, SecureSocketFactory and related classes to HttpConn 


git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@451412 13f79535-47bb-0310-9956-ffa450edef68
2006-09-29 20:06:44 +00:00
Oleg Kalnichevski 3a1b2a6de7 [HTTPCORE-14] Consider decoupling HttpHost and Scheme and moving Scheme, SocketFactory and SecureSocketFactory to HttpConn
Changelog:
----------
* Moved Scheme, SocketFactory, SecureSocketFactory and related classes to HttpConn 


git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@451410 13f79535-47bb-0310-9956-ffa450edef68
2006-09-29 19:59:13 +00:00
Oleg Kalnichevski c78f7920a2 [HTTPCORE-14] Consider decoupling HttpHost and Scheme and moving Scheme, SocketFactory and SecureSocketFactory to HttpConn
Changelog:
----------
* Moved Scheme, SocketFactory, SecureSocketFactory and related classes to HttpConn 


git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@451408 13f79535-47bb-0310-9956-ffa450edef68
2006-09-29 19:58:24 +00:00
Oleg Kalnichevski e6492548cd [HTTPCORE-14] Consider decoupling HttpHost and Scheme and moving Scheme, SocketFactory and SecureSocketFactory to HttpConn
Changelog:
----------
* Moved Scheme, SocketFactory, SecureSocketFactory and related classes to HttpConn 


git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@451407 13f79535-47bb-0310-9956-ffa450edef68
2006-09-29 19:57:43 +00:00
Oleg Kalnichevski 3ef2aa5d2c [HTTPCORE-14] Consider decoupling HttpHost and Scheme and moving Scheme, SocketFactory and SecureSocketFactory to HttpConn
Changelog:
----------
* Moved Scheme, SocketFactory, SecureSocketFactory and related classes to HttpConn 


git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@451405 13f79535-47bb-0310-9956-ffa450edef68
2006-09-29 19:54:01 +00:00
Oleg Kalnichevski 5e97770df4 Updated to the new HttpCore API
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@446853 13f79535-47bb-0310-9956-ffa450edef68
2006-09-16 11:12:45 +00:00
Roland Weber 8de8066f83 new build process for HttpClient, currently builds a single JAR for all, addon targets are pointless yet
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@440076 13f79535-47bb-0310-9956-ffa450edef68
2006-09-04 13:48:39 +00:00
Roland Weber 85e0dcacb1 adapted to changes in HttpCore
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@440075 13f79535-47bb-0310-9956-ffa450edef68
2006-09-04 13:45:52 +00:00
Oleg Kalnichevski 0af06cd4dd [HTTPCORE-6] When transmitting HTTP messages, re-use Header buffers whenever possible.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@418729 13f79535-47bb-0310-9956-ffa450edef68
2006-07-03 09:56:19 +00:00
Oleg Kalnichevski b0357c0348 [HTTPCORE-5] Made NameValuePair, StatusLine, RequestLine interfaces
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@418583 13f79535-47bb-0310-9956-ffa450edef68
2006-07-02 12:18:38 +00:00
Oleg Kalnichevski 88665f3e54 [HTTPCORE-5] Made HeaderElement an interface
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@418580 13f79535-47bb-0310-9956-ffa450edef68
2006-07-02 11:35:06 +00:00
Oleg Kalnichevski 69e044571e [HTTPCORE-5] Made Header an interface
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@418574 13f79535-47bb-0310-9956-ffa450edef68
2006-07-02 11:10:24 +00:00
Oleg Kalnichevski 370b72bdf7 * Cookie is no longer a subclass of NameValuePair
* Removed #equals and #hashCode methods. The concept of identity equality and value equality of cookies is domain specific. It should be addressed at the application level

git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@418102 13f79535-47bb-0310-9956-ffa450edef68
2006-06-29 18:06:11 +00:00
Oleg Kalnichevski a7302e6278 Refactoring of the CookiePolicy class
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@418097 13f79535-47bb-0310-9956-ffa450edef68
2006-06-29 17:48:45 +00:00
Oleg Kalnichevski d9186337ef * Made the browser compatibility and the RFC2109 cookie specs configurable. Configuration options can be passed as constructor parameters.
* More test coverage 

git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@417820 13f79535-47bb-0310-9956-ffa450edef68
2006-06-28 17:19:31 +00:00
Oleg Kalnichevski 4515632b29 Refactoring of the RFC2109 cookie draft spec
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@417083 13f79535-47bb-0310-9956-ffa450edef68
2006-06-25 22:34:09 +00:00
Oleg Kalnichevski 5eeb07c808 Added RFC2109 specific cookie attribute handlers
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@417034 13f79535-47bb-0310-9956-ffa450edef68
2006-06-25 17:22:45 +00:00
Oleg Kalnichevski 536068976f Refactoring of the Netscape cookie draft spec
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@415068 13f79535-47bb-0310-9956-ffa450edef68
2006-06-17 21:51:43 +00:00
Oleg Kalnichevski cd657a4939 Minor bug fixes; more test coverage
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@409996 13f79535-47bb-0310-9956-ffa450edef68
2006-05-28 21:03:18 +00:00
Oleg Kalnichevski 7d7da3d68b Renamed file
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@409995 13f79535-47bb-0310-9956-ffa450edef68
2006-05-28 20:31:45 +00:00
Oleg Kalnichevski 4c3e71e629 Fixed a number of problems with null domain attribute
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@409993 13f79535-47bb-0310-9956-ffa450edef68
2006-05-28 20:22:48 +00:00
Oleg Kalnichevski bee0ca1105 More test coverage
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@409989 13f79535-47bb-0310-9956-ffa450edef68
2006-05-28 20:09:14 +00:00
Oleg Kalnichevski 227e13de1e Ported cookie path comparator test cases from the Commons HttpClient 3.x code line
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@409986 13f79535-47bb-0310-9956-ffa450edef68
2006-05-28 19:58:04 +00:00
Oleg Kalnichevski 841549ce34 Ported browser compatibility test cases from the Commons HttpClient 3.x code line
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@409983 13f79535-47bb-0310-9956-ffa450edef68
2006-05-28 19:48:24 +00:00
Oleg Kalnichevski b7476807f1 Refactored the browser compatibility cookie policy ported from the Commons HttpClient 3.x code line
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@409981 13f79535-47bb-0310-9956-ffa450edef68
2006-05-28 19:46:39 +00:00
Oleg Kalnichevski 134c37f28a Added cookie handler impls for 'domain' attribute compatible with common practices of popular web browser applications
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@409968 13f79535-47bb-0310-9956-ffa450edef68
2006-05-28 17:31:16 +00:00
Oleg Kalnichevski 8fd96e3afb Added cookie handler impls for 'domain' attribute compatible with common practices of popular web browser applications
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@409967 13f79535-47bb-0310-9956-ffa450edef68
2006-05-28 17:30:41 +00:00
Oleg Kalnichevski 27e004244c Added cookie handler impls for 'expires' attribute shared by all common cookie specs
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@409408 13f79535-47bb-0310-9956-ffa450edef68
2006-05-25 15:41:10 +00:00
Oleg Kalnichevski 41c44857a5 Added cookie handler impls for 'path', 'maxage', 'secure', and 'comment' attributes shared by all common cookie specs
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@409386 13f79535-47bb-0310-9956-ffa450edef68
2006-05-25 13:30:49 +00:00