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/HttpAsyncThreadingDesign

The comment on the change is:
documented outcome of the design discussion on the developer list

------------------------------------------------------------------------------
  background thread and thereby interfere with processing of other requests and 
responses.
  
  
+ === Consolidated Design ===
+ 
+ After discussion on the developer mailing list, the following design choices 
have been made for the initial implementation.
+ They are subject to review, discussion, and change.
+ 
+  1. Preprocessing can be switched between application thread and background 
thread through a parameter.[[BR]] The default is to preprocess in the 
application thread, since that keeps bad requests that fail to preprocess out 
of the dispatcher.
+  1. Postprocessing can be switched between application thread and background 
thread through a parameter.[[BR]] The default is to postprocess in the 
background thread, since it is unpredictable which of several application 
threads would be the one that does the postprocessing.
+  1. Consuming of the remaining response body is done in the background 
thread, since that step is logically tied to connection management.[[BR]] 
Applications that don't want the background thread to consume the response body 
can consume it explicitly before closing the handle.
+ 
  == Non-blocking IO Implementation ==
  
  ''This is the place for discussing {{{java.nio}}} based dispatchers.''

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

Reply via email to