Typically the HttpExchange is passed to a the {@link HttpClient#send(HttpExchange)} method, which inturn selects a {@link HttpDestination} and calls it's {@link HttpDestination#send(HttpExchange), which}then creates or selects a {@link HttpConnection} and calls its {@link HttpConnection#send(HttpExchange).A developer may wish to directly call send on the destination or connection if they wish to bypass some handling provided (eg Cookie handling in the HttpDestination).
In some circumstances, the HttpClient or HttpDestination may wish to retry a HttpExchange (eg. failed pipeline request, authentication retry or redirection). In such cases, the HttpClient and/or HttpDestination may insert their own HttpExchangeListener to intercept and filter the call backs intended for the HttpExchange.} @author gregw @author Guillaume Nodet
|
|
|
|