Uses of Class
io.vertx.mutiny.core.net.QuicStream
Packages that use QuicStream
-
Uses of QuicStream in io.vertx.mutiny.core.net
Fields in io.vertx.mutiny.core.net with type parameters of type QuicStreamMethods in io.vertx.mutiny.core.net that return QuicStreamModifier and TypeMethodDescriptionQuicStream.abortAndForget(int error) Instruct the remote peer that this part of the stream is no longer interested in received data and wants it to cease transmission, aSTOP_SENDINGframe is sent to the remote peer.QuicStream.closeAndForget()Close the channelQuicStream.closeHandler(Runnable handler) Set a handler called when the stream is closed.QuicStream.drainHandler(Runnable handler) QuicStream.endAndForget()Callsclose()QuicStream.endAndForget(io.vertx.core.buffer.Buffer arg0) Same asend()but writes some data to the stream before ending.QuicStream.endHandler(Runnable endHandler) QuicStream.exceptionHandler(Consumer<Throwable> handler) Set an exception handling, catching stream exceptions.QuicStream.fetch(long amount) Set the handler signaled with the data events the remote peer has sent.static QuicStreamQuicStream.newInstance(io.vertx.core.net.QuicStream delegate) Creates a new instance of theQuicStream.QuicConnection.openStreamAndAwait()Open a bidirectional stream to the remote endpoint.QuicConnection.openStreamAndAwait(boolean bidirectional) Open a stream to the remote endpoint withbidirectional parameterspecifying its directionality.QuicStream.pause()QuicStream.pipeToAndForget(WriteStream<io.vertx.core.buffer.Buffer> arg0) Pipe thisReadStreamto theWriteStream.QuicStream.resetAndForget(int error) Abruptly terminate the sending part of the stream with the specified application protocolerrorcode argument, aRESETframe is sent to the remote peer.QuicStream.resetHandler(Consumer<Long> handler) Set a handler called upon stream reset: when a stream receives a reset frame from its peer, this handler is called.QuicStream.resume()QuicStream.sendFileAndForget(String arg0) Tell the operating system to stream a file as specified byfilenamedirectly from disk to the outgoing connection, bypassing userspace altogether (where supported by the underlying operating system.QuicStream.sendFileAndForget(String arg0, long arg1) Tell the operating system to stream a file as specified byfilenamedirectly from disk to the outgoing connection, bypassing userspace altogether (where supported by the underlying operating system.QuicStream.sendFileAndForget(String arg0, long arg1, long arg2) Tell the operating system to stream a file as specified byfilenamedirectly from disk to the outgoing connection, bypassing userspace altogether (where supported by the underlying operating system.QuicStream.setWriteQueueMaxSize(int maxSize) QuicStream.shutdownHandler(Consumer<Duration> handler) Set a handler called when the stream is shutdown or closedQuicStream.writeAndForget(io.vertx.core.buffer.Buffer arg0) Write some data to the stream.QuicStream.writeAndForget(String arg0) Write aStringto the connection, encoded in UTF-8.QuicStream.writeAndForget(String arg0, String arg1) Write aStringto the connection, encoded using the encodingenc.Methods in io.vertx.mutiny.core.net that return types with arguments of type QuicStreamModifier and TypeMethodDescriptionio.smallrye.mutiny.Uni<QuicStream>QuicConnection.openStream()Open a bidirectional stream to the remote endpoint.io.smallrye.mutiny.Uni<QuicStream>QuicConnection.openStream(boolean bidirectional) Open a stream to the remote endpoint withbidirectional parameterspecifying its directionality.Method parameters in io.vertx.mutiny.core.net with type arguments of type QuicStreamModifier and TypeMethodDescriptionQuicConnection.streamHandler(Consumer<QuicStream> handler) Set a handler processing incoming Quic streams.QuicServer.streamHandler(Consumer<QuicStream> handler) Set a handler processing incoming Quic streams, this is a short-cut ofserver.connectHandler(connection -> connection.streamHandler(stream)).