Package io.vertx.rxjava3.httpproxy
Class Body
java.lang.Object
io.vertx.rxjava3.httpproxy.Body
- All Implemented Interfaces:
RxDelegate
Handles the HTTP proxy body.
NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BodyCreate a newBodyinstance.static BodyCreate a newBodyinstance.static Bodystatic Bodystatic Bodystatic BodyCreate a newBodyinstance.booleaninthashCode()longlength()Get length of theBody.static BodynewInstance(Body arg) stream()Get stream of theBody.toString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
Body
-
Body
-
-
Method Details
-
toString
-
equals
-
hashCode
public int hashCode() -
getDelegate
- Specified by:
getDelegatein interfaceRxDelegate
-
body
Create a newBodyinstance.- Parameters:
stream- theReadStreamof the bodylen- the determined length of the body- Returns:
- a reference to this, so the API can be used fluently
-
body
-
body
-
body
Create a newBodyinstance.- Parameters:
stream- the of the body- Returns:
- a reference to this, so the API can be used fluently
-
body
-
body
Create a newBodyinstance.- Parameters:
buffer- the of the bodymediaType- the body media type- Returns:
- a reference to this, so the API can be used fluently
-
mediaType
- Returns:
- the media type of this body
-
length
public long length()Get length of theBody.- Returns:
- the body length or
-1if that can't be determined
-
stream
Get stream of theBody.- Returns:
- the body stream
-
newInstance
-