public static class RoutingContext extends Object
A new instance is created for each HTTP request that is received in the
Router.accept(io.vertx.rxjava.core.http.HttpServerRequest)
of the router.
The same instance is passed to any matching request or failure handlers during the routing of the request or failure.
The context provides access to the HttpServerRequest
and HttpServerResponse
and allows you to maintain arbitrary data that lives for the lifetime of the context. Contexts are discarded once they
have been routed to the handler for the request.
The context also provides access to the Session
, cookies and body for the request, given the correct handlers
in the application.
original
non RX-ified interface using Vert.x codegen.Copyright © 2015. All Rights Reserved.