public interface Body
| Modifier and Type | Method and Description |
|---|---|
static Body |
body(io.vertx.core.buffer.Buffer buffer)
Create a new
Body instance. |
static Body |
body(io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> stream)
Create a new
Body instance. |
static Body |
body(io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> stream,
long len)
Create a new
Body instance. |
long |
length()
Get length of the
Body. |
io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> |
stream()
Get stream of the
Body. |
static Body body(io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> stream, long len)
Body instance.stream - the ReadStream of the bodylen - the determined length of the bodystatic Body body(io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> stream)
Body instance.stream - the ReadStream of the bodystatic Body body(io.vertx.core.buffer.Buffer buffer)
Body instance.buffer - the Buffer of the bodylong length()
Body.-1 if that can't be determinedio.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> stream()
Body.Copyright © 2024. All Rights Reserved.