The internal type of the Java wrapped class.
The internal type of the Java wrapped class.
The internal instance of the Java wrapped class.
The internal instance of the Java wrapped class.
Convenience method for receiving the entire request body in one piece.
Convenience method for receiving the entire request body in one piece. This saves the user having to manually set a data and end handler and append the chunks of the body until the whole body received. Don't use this if your request body is large - you could potentially run out of RAM.
This handler will be called after all the body has been received.
Returns the Set-Cookie headers (including trailers).
Returns the Set-Cookie headers (including trailers).
The Set-Cookie headers (including trailers).
Set a data handler.
Set a data handler. As data is read, the handler will be called with the data.
Set an end handler.
Set an end handler. Once the stream has ended, and there is no more data to be read, this handler will be called.
Set an exception handler.
Set an exception handler.
Returns the HTTP headers.
Returns the HTTP headers.
This method converts a Java collection into a Scala collection every time it gets called, so use it sensibly.
The HTTP headers.
Get a net socket for the underlying connection of this request.
Get a net socket for the underlying connection of this request. USE THIS WITH CAUTION! Writing to the socket directly if you don't know what you're doing can easily break the HTTP protocol.
One valid use-case for calling this is to receive the NetSocket after a HTTP CONNECT was issued to the remote peer and it responded with a status code of 200.
the net socket
Pause the ReadSupport
.
Pause the ReadSupport
. While it's paused, no data will be sent to the dataHandler
Resume reading.
Resume reading. If the ReadSupport
has been paused, reading will recommence on it.
Returns the HTTP status code of the response.
Returns the HTTP status code of the response.
The HTTP status code of the response.
Returns the HTTP status message of the response.
Returns the HTTP status message of the response.
The HTTP status message of the response.
Returns the HTTP trailers.
Returns the HTTP trailers.
This method converts a Java collection into a Scala collection every time it gets called, so call it sensibly.
The HTTP trailers.
Helper method wrapping invocations and returning the Scala type, once again to help provide fluent return types
Helper method wrapping invocations and returning the Scala type, once again to help provide fluent return types
Represents a client-side HTTP response.
An instance is provided to the user via a org.vertx.java.core.Handler instance that was specified when one of the HTTP method operations, or the generic String, org.vertx.java.core.Handler) method was called on an instance of org.vertx.scala.core.http.HttpClient.
It implements org.vertx.scala.core.streams.ReadStream so it can be used with org.vertx.scala.core.streams.Pump to pump data with flow control.
Instances of this class are not thread-safe.