| java.lang.Object HTTPClient.RetryModule
RetryModule | class RetryModule implements HTTPClientModule,GlobalConstants(Code) | | This module handles request retries when a connection closes prematurely.
It is triggered by the RetryException thrown by the StreamDemultiplexor.
This module is somewhat unique in that it doesn't strictly limit itself
to the HTTPClientModule interface and its return values. That is, it
sends request directly using the HTTPConnection.sendRequest() method. This
is necessary because this module will not only resend its request but it
also resend all other requests in the chain. Also, it rethrows the
RetryException in Phase1 to restart the processing of the modules.
version: 0.3-2 18/06/1999 author: Ronald Tschalär since: V0.3 |
RetryModule | RetryModule()(Code) | | |
responsePhase2Handler | public int responsePhase2Handler(Response resp, Request req)(Code) | | Invoked by the HTTPClient.
|
responsePhase3Handler | public void responsePhase3Handler(Response resp, RoRequest req)(Code) | | Invoked by the HTTPClient.
|
|
|