Package io.micronaut.http.netty
Class PublisherAsStream
java.lang.Object
java.io.InputStream
io.micronaut.http.netty.PublisherAsStream
- All Implemented Interfaces:
Closeable,AutoCloseable
Transform a
PublisherAsBlocking of buffers into a InputStream.- Since:
- 4.2.0
- Author:
- Jonas Konrad
-
Constructor Summary
ConstructorsConstructorDescriptionPublisherAsStream(PublisherAsBlocking<io.netty.buffer.ByteBuf> publisherAsBlocking) -
Method Summary
Methods inherited from class java.io.InputStream
available, mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Constructor Details
-
PublisherAsStream
-
-
Method Details
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-