Class TransportResponse

java.lang.Object
org.apache.juneau.rest.client.TransportResponse
All Implemented Interfaces:
Closeable, AutoCloseable

public final class TransportResponse extends Object implements Closeable
A transport-layer HTTP response.

Produced by HttpTransport.execute(TransportRequest) and consumed by the higher-level RestResponse.

Callers must close this object (it implements Closeable) after consuming the response body; transport implementations use the close callback to release connection-pool resources.

Since:
9.2.1