public class Body extends Object
NOTE: This class has been automatically generated from the
original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static TypeArg<Body> |
__TYPE_ARG |
Constructor and Description |
---|
Body(io.vertx.httpproxy.Body delegate) |
Body(Object delegate) |
Modifier and Type | Method and Description |
---|---|
static Body |
body(Buffer buffer)
Create a new
Body instance. |
static Body |
body(io.reactivex.rxjava3.core.Flowable<Buffer> stream)
Create a new
Body instance. |
static Body |
body(io.reactivex.rxjava3.core.Flowable<Buffer> stream,
long len)
Create a new
Body instance. |
boolean |
equals(Object o) |
io.vertx.httpproxy.Body |
getDelegate() |
int |
hashCode() |
long |
length()
Get length of the
Body . |
static Body |
newInstance(io.vertx.httpproxy.Body arg) |
ReadStream<Buffer> |
stream()
Get stream of the
Body . |
String |
toString() |
public Body(io.vertx.httpproxy.Body delegate)
public Body(Object delegate)
public io.vertx.httpproxy.Body getDelegate()
public static Body body(io.reactivex.rxjava3.core.Flowable<Buffer> stream, long len)
Body
instance.stream
- the ReadStream
of the bodylen
- the determined length of the bodypublic static Body body(io.reactivex.rxjava3.core.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
.public static Body newInstance(io.vertx.httpproxy.Body arg)
Copyright © 2021 Eclipse. All rights reserved.