- java.lang.Object
-
- org.glassfish.tyrus.spi.Writer
-
- io.helidon.webserver.tyrus.TyrusWriterPublisher
-
- All Implemented Interfaces:
Closeable,AutoCloseable,Flow.Publisher<DataChunk>
public class TyrusWriterPublisher extends org.glassfish.tyrus.spi.Writer implements Flow.Publisher<DataChunk>
Class TyrusWriterProducer.
-
-
Constructor Summary
Constructors Constructor Description TyrusWriterPublisher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidsubscribe(Flow.Subscriber<? super DataChunk> newSubscriber)voidwrite(ByteBuffer byteBuffer, org.glassfish.tyrus.spi.CompletionHandler<ByteBuffer> handler)
-
-
-
Method Detail
-
write
public void write(ByteBuffer byteBuffer, org.glassfish.tyrus.spi.CompletionHandler<ByteBuffer> handler)
- Specified by:
writein classorg.glassfish.tyrus.spi.Writer
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
subscribe
public void subscribe(Flow.Subscriber<? super DataChunk> newSubscriber)
- Specified by:
subscribein interfaceFlow.Publisher<DataChunk>
-
-