Package io.vertx.mutiny.httpproxy
Class Body
- java.lang.Object
-
- io.vertx.mutiny.httpproxy.Body
-
public class Body extends Object
Handles the HTTP proxy body.
NOTE: This class has been automatically generated from theoriginalnon Mutiny-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<Body>__TYPE_ARG
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Bodybody(Buffer buffer)static Bodybody(ReadStream<Buffer> stream)static Bodybody(ReadStream<Buffer> stream, long len)static Bodybody(Flow.Publisher<Buffer> stream)static Bodybody(Flow.Publisher<Buffer> stream, long len)booleanequals(Object o)io.vertx.httpproxy.BodygetDelegate()inthashCode()longlength()static BodynewInstance(io.vertx.httpproxy.Body arg)ReadStream<Buffer>stream()StringtoString()
-
-
-
Constructor Detail
-
Body
public Body(io.vertx.httpproxy.Body delegate)
-
Body
public Body(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.httpproxy.Body getDelegate()
-
body
public static Body body(ReadStream<Buffer> stream, long len)
- Parameters:
stream- theReadStreamof the bodylen- the determined length of the body- Returns:
- a reference to this, so the API can be used fluently
-
body
public static Body body(Flow.Publisher<Buffer> stream, long len)
- Parameters:
stream- theReadStreamof the bodylen- the determined length of the body- Returns:
- a reference to this, so the API can be used fluently
-
body
public static Body body(ReadStream<Buffer> stream)
- Parameters:
stream- the of the body- Returns:
- a reference to this, so the API can be used fluently
-
body
public static Body body(Flow.Publisher<Buffer> stream)
- Parameters:
stream- the of the body- Returns:
- a reference to this, so the API can be used fluently
-
body
public static Body body(Buffer buffer)
- Parameters:
buffer- the of the body- Returns:
- a reference to this, so the API can be used fluently
-
length
public long length()
- Returns:
- the body length or
-1if that can't be determined
-
stream
public ReadStream<Buffer> stream()
- Returns:
- the body stream
-
newInstance
public static Body newInstance(io.vertx.httpproxy.Body arg)
-
-