Class VertxStream

java.lang.Object
net.bluemind.core.rest.vertx.VertxStream

public class VertxStream extends Object
  • Method Details

    • stream

      public static Stream stream(io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> stream)
    • stream

      public static Stream stream(io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> stream, io.vertx.core.Handler<Void> hook)
    • stream

      public static Stream stream(io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> stream, String mime)
    • stream

      public static Stream stream(io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> stream, String mime, String charset)
    • stream

      public static Stream stream(io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> stream, String mime, String charset, String fileName)
    • read

      public static <T> io.vertx.core.streams.ReadStream<T> read(Stream stream)
    • sink

      public static CompletableFuture<Void> sink(Stream stream)
    • readInContext

      public static <T> io.vertx.core.streams.ReadStream<T> readInContext(io.vertx.core.Vertx vertx, Stream stream)
    • localPath

      public static Stream localPath(Path p)
    • stream

      public static Stream stream(io.vertx.core.buffer.Buffer body, String mime, String charset)
    • stream

      public static Stream stream(io.vertx.core.buffer.Buffer body, String mime, String charset, String fileName)
    • stream

      public static Stream stream(io.vertx.core.buffer.Buffer body)