Package com.predic8.membrane.core.transport.http
package com.predic8.membrane.core.transport.http
-
ClassDescriptionA
Connectionis an outbound TCP/IP connection, possibly managed by aConnectionManager.Pools TCP/IP connections, holding them open for a configurable number of milliseconds.HttpClient with possibly multiple selectable destinations, with internal logic to auto-retry and to switch destinations on failures.Sharing the HttpClient instances has two benefits: The HttpClient only uses one timer (connection closer). The HttpClient only uses one connection pool.Event bus for outcomes of the HttpClient.Implementations are supposed to not block! If they have time-consuming work to do then they shall put that work into a background task/queue to be processed separately, otherwise the end user has to wait for his response.Indicates the state where a connection was closed, but no new request has been started.Indicates the state where a connection was closed, but no response has been read.