public class VertxStream
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
VertxStream.LocalPathStream |
static class |
VertxStream.ReadStreamStream |
Modifier and Type | Method and Description |
---|---|
static Stream |
localPath(java.nio.file.Path p) |
static <T> io.vertx.core.streams.ReadStream<T> |
read(Stream stream) |
static <T> io.vertx.core.streams.ReadStream<T> |
readInContext(io.vertx.core.Vertx vertx,
Stream stream) |
static java.util.concurrent.CompletableFuture<java.lang.Void> |
sink(Stream stream) |
static Stream |
stream(io.vertx.core.buffer.Buffer body) |
static Stream |
stream(io.vertx.core.buffer.Buffer body,
java.lang.String mime,
java.lang.String charset) |
static Stream |
stream(io.vertx.core.buffer.Buffer body,
java.lang.String mime,
java.lang.String charset,
java.lang.String fileName) |
static Stream |
stream(io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> stream) |
static Stream |
stream(io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> stream,
java.lang.String mime,
java.lang.String charset,
java.lang.String fileName) |
public static Stream stream(io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> stream)
public static Stream stream(io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> stream, java.lang.String mime, java.lang.String charset, java.lang.String fileName)
public static <T> io.vertx.core.streams.ReadStream<T> read(Stream stream)
public static java.util.concurrent.CompletableFuture<java.lang.Void> sink(Stream stream)
public static <T> io.vertx.core.streams.ReadStream<T> readInContext(io.vertx.core.Vertx vertx, Stream stream)
public static Stream localPath(java.nio.file.Path p)
public static Stream stream(io.vertx.core.buffer.Buffer body, java.lang.String mime, java.lang.String charset)
public static Stream stream(io.vertx.core.buffer.Buffer body, java.lang.String mime, java.lang.String charset, java.lang.String fileName)
public static Stream stream(io.vertx.core.buffer.Buffer body)
Copyright © 2021. All Rights Reserved.