Package io.activej.csp.supplier.impl
Class OfInputStream
java.lang.Object
io.activej.reactor.AbstractReactive
io.activej.reactor.ImplicitlyReactive
io.activej.async.process.AbstractAsyncCloseable
io.activej.csp.supplier.AbstractChannelSupplier<io.activej.bytebuf.ByteBuf>
io.activej.csp.supplier.impl.OfInputStream
- All Implemented Interfaces:
io.activej.async.process.AsyncCloseable,ChannelSupplier<io.activej.bytebuf.ByteBuf>,io.activej.reactor.Reactive
-
Field Summary
FieldsFields inherited from class io.activej.reactor.AbstractReactive
reactorFields inherited from interface io.activej.async.process.AsyncCloseable
STATIC -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.activej.csp.supplier.AbstractChannelSupplier
getMethods inherited from class io.activej.async.process.AbstractAsyncCloseable
closeEx, doSanitize, getCloseable, getException, isClosed, onCleanup, sanitize, setCloseableMethods inherited from class io.activej.reactor.AbstractReactive
getReactorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.activej.async.process.AsyncCloseable
close, closeExMethods inherited from interface io.activej.csp.supplier.ChannelSupplier
async, bindTo, filter, lenient, map, mapAsync, peek, streamTo, streamTo, toCollector, toList, transformWith, until, withEndOfStream, withExecutor
-
Field Details
-
executor
-
bufSize
public final int bufSize -
inputStream
-
-
Constructor Details
-
OfInputStream
-
-
Method Details
-
doGet
protected io.activej.promise.Promise<io.activej.bytebuf.ByteBuf> doGet()- Specified by:
doGetin classAbstractChannelSupplier<io.activej.bytebuf.ByteBuf>
-
onClosed
- Overrides:
onClosedin classio.activej.async.process.AbstractAsyncCloseable
-