Package | Description |
---|---|
org.apache.hc.core5.http.impl.io |
Default implementation of HTTP/1.1 transport based on the classic
(blocking) I/O model.
|
org.apache.hc.core5.http.io |
Core HTTP transport APIs based on the classic (blocking) I/O model.
|
Modifier and Type | Class and Description |
---|---|
class |
SessionOutputBufferImpl
Abstract base class for session output buffers that stream data to
an arbitrary
OutputStream . |
Modifier and Type | Method and Description |
---|---|
void |
AbstractMessageWriter.write(T message,
SessionOutputBuffer buffer,
OutputStream outputStream) |
Constructor and Description |
---|
ChunkedOutputStream(SessionOutputBuffer buffer,
OutputStream outputStream,
byte[] chunkCache,
Supplier<List<? extends Header>> trailerSupplier)
Default constructor.
|
ChunkedOutputStream(SessionOutputBuffer buffer,
OutputStream outputStream,
int chunkSizeHint)
Constructor with no trailers.
|
ChunkedOutputStream(SessionOutputBuffer buffer,
OutputStream outputStream,
int chunkSizeHint,
Supplier<List<? extends Header>> trailerSupplier)
Constructor taking an integer chunk size hint.
|
ContentLengthOutputStream(SessionOutputBuffer buffer,
OutputStream outputStream,
long contentLength)
Default constructor.
|
IdentityOutputStream(SessionOutputBuffer buffer,
OutputStream outputStream)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
HttpMessageWriter.write(T message,
SessionOutputBuffer buffer,
OutputStream outputStream)
Serializes an instance of
MessageHeaders to the given output stream. |
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.