public class HttpMessageDataStreamer extends Object
| Modifier and Type | Class and Description |
|---|---|
protected class |
HttpMessageDataStreamer.ByteBufferInputStream
A class which represents the InputStream of the ByteBuffers
No need to worry about thread safety of this class this is called only once by
for a message instance from one thread.
|
protected class |
HttpMessageDataStreamer.ByteBufferOutputStream
A class which write byteStream into ByteBuffers and add those
ByteBuffers to Content Queue.
|
| Constructor and Description |
|---|
HttpMessageDataStreamer(HttpCarbonMessage httpCarbonMessage) |
HttpMessageDataStreamer(HttpCarbonMessage httpCarbonMessage,
io.netty.buffer.ByteBufAllocator pooledByteBufAllocator) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getInputStream() |
OutputStream |
getOutputStream() |
public HttpMessageDataStreamer(HttpCarbonMessage httpCarbonMessage)
public HttpMessageDataStreamer(HttpCarbonMessage httpCarbonMessage, io.netty.buffer.ByteBufAllocator pooledByteBufAllocator)
public OutputStream getOutputStream()
public InputStream getInputStream()
Copyright © 2023 WSO2. All rights reserved.