Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<Body> |
__TYPE_ARG |
Constructor and Description |
---|
Body(Body delegate) |
Body(Object delegate) |
Modifier and Type | Method and Description |
---|---|
static Body |
body(Buffer buffer)
Create a new
Body instance. |
static Body |
body(Flowable<Buffer> stream)
Create a new
Body instance. |
static Body |
body(Flowable<Buffer> stream,
long len)
Create a new
Body instance. |
boolean |
equals(Object o) |
Body |
getDelegate() |
int |
hashCode() |
long |
length()
Get length of the
Body . |
static Body |
newInstance(Body arg) |
ReadStream<Buffer> |
stream()
Get stream of the
Body . |
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<Body> __TYPE_ARG
public Body getDelegate()
public static Body body(Flowable<Buffer> stream, long len)
Body
instance.stream
- the ReadStream
of the bodylen
- the determined length of the bodypublic static Body body(Flowable<Buffer> stream)
Body
instance.stream
- the of the bodypublic static Body body(Buffer buffer)
Body
instance.buffer
- the of the bodypublic long length()
Body
.-1
if that can't be determinedpublic ReadStream<Buffer> stream()
Body
.Copyright © 2024 Eclipse. All rights reserved.