Package io.vertx.mutiny.httpproxy
Class Body
java.lang.Object
io.vertx.mutiny.httpproxy.Body
- All Implemented Interfaces:
MutinyDelegate
Handles the HTTP proxy body.
NOTE: This class has been automatically generated from the
original
non Mutiny-ified interface using Vert.x codegen.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Body
static Body
body
(ReadStream<Buffer> stream) static Body
body
(ReadStream<Buffer> stream, long len) static Body
body
(Flow.Publisher<Buffer> stream) static Body
body
(Flow.Publisher<Buffer> stream, long len) boolean
io.vertx.httpproxy.Body
int
hashCode()
long
length()
static Body
newInstance
(io.vertx.httpproxy.Body arg) stream()
toString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
Body
public Body(io.vertx.httpproxy.Body delegate) -
Body
-
-
Method Details
-
getDelegate
public io.vertx.httpproxy.Body getDelegate()- Specified by:
getDelegate
in interfaceMutinyDelegate
- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
-
equals
-
hashCode
public int hashCode() -
body
- Parameters:
stream
- theReadStream
of the bodylen
- the determined length of the body- Returns:
- a reference to this, so the API can be used fluently
-
body
- Parameters:
stream
- theReadStream
of the bodylen
- the determined length of the body- Returns:
- a reference to this, so the API can be used fluently
-
body
- Parameters:
stream
- the of the body- Returns:
- a reference to this, so the API can be used fluently
-
body
- Parameters:
stream
- the of the body- Returns:
- a reference to this, so the API can be used fluently
-
body
- 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
-1
if that can't be determined
-
stream
- Returns:
- the body stream
-
newInstance
-