Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jakarta-httpclient 
Wiki" for change notification.

The following page has been changed by RolandWeber:
http://wiki.apache.org/jakarta-httpclient/UseCases/SingleAsyncRequestNotify

------------------------------------------------------------------------------
  in {{{java.lang.Object}}} and suggests a callback interface with a method to 
which parameters can be passed.
  Error handling can be provided by the same interface, for example as an 
additional method.
  
+ The focus of this use case is the design of an interface for notification.
- The implementation requires at least one background thread for sending the 
request and detecting the
+ The implementation requires at least one background thread for sending the 
request, detecting the
- availability of the response. One thread may be shared for multiple 
connections if Java NIO is used,
+ availability of the response, and notifying the application. One thread may 
be shared for multiple connections
- a separate thread for each connections is needed with traditional IO.
+ if Java NIO is used, a separate thread for each connections is needed with 
traditional IO.
  The responsibility for processing of response headers can be assigned to the 
application thread, or to
  the background threads.
  [[BR]]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to