Interface ByteBodyHttpResponse<B>

Type Parameters:
B - The original (non-encoded) body type
All Superinterfaces:
AttributeHolder, AutoCloseable, Closeable, HttpMessage<B>, HttpResponse<B>, MutableAttributeHolder
All Known Implementing Classes:
ByteBodyHttpResponseWrapper

public sealed interface ByteBodyHttpResponse<B> extends HttpResponse<B>, Closeable permits ByteBodyHttpResponseWrapper<B>
Special response type that contains the encoded response bytes. Responses of this type must also be closed if their byteBody() is not used.
Since:
4.7.0
Author:
Jonas Konrad