The internal type of the Java wrapped class.
The internal type of the Java wrapped class.
Get the absolute URI corresponding to the the HTTP request
Get the absolute URI corresponding to the the HTTP request
the URI
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
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.
Call this with true if you are expecting a multi-part form to be submitted in the request This must be called before the body of the request has been received.
Call this with true if you are expecting a multi-part form to be submitted in the request This must be called before the body of the request has been received.
true
if expecting multi-part form, false
otherwise
Returns a map of all form attributes which was found in the request.
Returns a map of all form attributes which was found in the request. Be aware that this message should only get called after the endHandler was notified as the map will be filled on-the-fly. org.vertx.scala.core.http.HttpServerRequest.expectMultiPart(boolean) must be called first before trying to get the formAttributes
A map of all headers in the request, If the request contains multiple headers with the same key, the values will be concatenated together into a single header with the same key value, with each value separated by a comma, as specified here.
A map of all headers in the request, If the request contains multiple headers with the same key, the values will be concatenated together into a single header with the same key value, with each value separated by a comma, as specified here.
The headers will be automatically lower-cased when they reach the server
This method converts a Java collection into a Scala collection every time it gets called, so use it sensibly.
Return the local (server side) address of the server that handles the request
The HTTP method for the request.
The HTTP method for the request. One of GET, PUT, POST, DELETE, TRACE, CONNECT, OPTIONS or HEAD
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
the net socket
Returns a map of all the parameters in the request.
Returns a map of all the parameters in the request.
This method converts a Java collection into a Scala collection every time it gets called, so use it sensibly.
A map of all the parameters in the request.
The path part of the uri.
The path part of the uri. For example /somepath/somemorepath/someresource.foo
Pause the ReadSupport
.
Pause the ReadSupport
. While it's paused, no data will be sent to the dataHandler
an array of the peer certificates. Returns null if connection is not SSL.
SSL peer's identity has not been verified.
The query part of the uri.
The query part of the uri. For example someparam=32&someotherparam=x
Return the remote (client side) address of the request.
The response.
The response. Each instance of this class has an org.vertx.scala.core.http.HttpServerResponse instance attached to it. This is used to send the response back to the client.
Resume reading.
Resume reading. If the ReadSupport
has been paused, reading will recommence on it.
Set the upload handler.
Set the upload handler. The handler will get notified once a new file upload was received and so allow to get notified by the upload in progress.
The uri of the request.
The uri of the request. For example http://www.somedomain.com/somepath/somemorepath/someresource.foo?someparam=32&someotherparam=x
The HTTP version of the request
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 server-side HTTP request.
Instances are created for each request that is handled by the server and is passed to the user via the org.vertx.java.core.Handler instance registered with the org.vertx.scala.core.http.HttpServer using the method org.vertx.scala.core.http.HttpServer.requestHandler(org.vertx.java.core.Handler).
Each instance of this class is associated with a corresponding org.vertx.scala.core.http.HttpServerResponse instance via the
response
field.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