Date: 2005-01-29T22:44:48
Editor: RolandWeber
Wiki: Jakarta-HttpClient Wiki
Page: HttpClientApiRedesign
URL: http://wiki.apache.org/jakarta-httpclient/HttpClientApiRedesign
callback handling and result provider classes in http-async
Change Log:
------------------------------------------------------------------------------
@@ -225,9 +225,11 @@
a. {{{ HttpAsyncResult }}} interface for checking whether the response is
available, and getting it
a. {{{ HttpAsyncNotify }}} interface extending {{{ HttpAsyncResult }}} with
a wait/notify mechanism
- * default implementation of a callback handler and result provider. The
default implementation uses the same error retry handling as {{{
DefaultHttpRequestRetryHandler }}}.
+ * default implementations of callback handler and result provider. The
callback handler uses an {{{ HttpRequestRetryHandler }}} to retry failed
requests, but does not handle redirects nor authentication challenges.
- a. {{{ StdAsyncCallbackHandler }}} class implementing {{{ HttpAsyncCallback
}}}, {{{ HttpAsyncResult }}}, {{{ HttpAsyncNotify }}}
+ a. {{{ StdAsyncCallbackHandler }}} class implementing {{{ HttpAsyncCallback
}}}
+ a. {{{ StdAsyncResult }}} class implementing {{{ HttpAsyncResult }}}
+ a. {{{ StdAsyncNotify }}} class extending {{{ StdAsyncResult }}} and
implementing {{{ HttpAsyncNotify }}}
* minimal implementation of the asynchronous execution interface.
@@ -255,6 +257,7 @@
a. {{{ HttpRequestQueue }}} interface
a. {{{ StdHttpReqQueue }}} class implementing {{{ HttpRequestQueue }}}
In addition to the usual queueing operations, this interface provides methods
for dequeueing bunches of requests targetting the same host. It also includes a
conditional queueing operation that enqueues a request only if it targets the
same host as other requests in the queue. See note on Pipelining below.
+
== http-client ==
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]