Method and Description |
---|
io.vertx.ext.web.RoutingContext.addCookie(Cookie)
Use
HttpServerResponse.addCookie(Cookie)
Add a cookie. This will be sent back to the client in the response. |
io.vertx.ext.web.RoutingContext.cookieCount() |
io.vertx.ext.web.RoutingContext.cookieMap() |
io.vertx.ext.web.handler.ChainAuthHandler.create()
use
ChainAuthHandler.any() instead. |
io.vertx.ext.web.handler.LoggerHandler.customFormatter(Function<HttpServerRequest, String>)
Superseded by
LoggerHandler.customFormatter(LoggerFormatter) |
io.vertx.ext.web.RoutingContext.getBody()
Use
RoutingContext.body() instead. |
io.vertx.ext.web.RoutingContext.getBodyAsJson()
Use
RoutingContext.body() instead. |
io.vertx.ext.web.RoutingContext.getBodyAsJson(int)
Use
RoutingContext.body() instead.
Gets the current body buffer as a JsonObject . If a positive limit is provided the parsing will only happen
if the buffer length is smaller or equal to the limit. Otherwise an IllegalStateException is thrown.
When the application is only handling uploads in JSON format, it is recommended to set a limit on
BodyHandler.setBodyLimit(long) as this will avoid the upload to be parsed and
loaded into the application memory. |
io.vertx.ext.web.RoutingContext.getBodyAsJsonArray()
Use
RoutingContext.body() instead. |
io.vertx.ext.web.RoutingContext.getBodyAsJsonArray(int)
Use
RoutingContext.body() instead.
Gets the current body buffer as a JsonArray . If a positive limit is provided the parsing will only happen
if the buffer length is smaller or equal to the limit. Otherwise an IllegalStateException is thrown.
When the application is only handling uploads in JSON format, it is recommended to set a limit on
BodyHandler.setBodyLimit(long) as this will avoid the upload to be parsed and
loaded into the application memory. |
io.vertx.ext.web.RoutingContext.getBodyAsString()
Use
RoutingContext.body() instead. |
io.vertx.ext.web.RoutingContext.getBodyAsString(String)
Use
RoutingContext.body() instead.
Get the entire HTTP request body as a string, assuming the specified encoding. The context must have first been routed to a
BodyHandler for this to be populated. |
io.vertx.ext.web.RoutingContext.getCookie(String)
Use
HttpServerRequest.getCookie(String)
Get the cookie with the specified name. |
io.vertx.ext.web.handler.sockjs.SockJSHandler.handle(RoutingContext)
mount the router as a sub-router instead. This method will not properly handle errors.
|
io.vertx.ext.web.Router.mountSubRouter(String, Router)
This method duplicates the sub router functionality from
Route.subRouter(Router) .
Mount a sub router on this router |
io.vertx.ext.web.RoutingContext.normalisedPath() |
io.vertx.ext.web.RoutingContext.removeCookie(String)
Use
HttpServerResponse.removeCookie(String)
Expire a cookie, notifying a User Agent to remove it from its cookie jar. |
io.vertx.ext.web.RoutingContext.removeCookie(String, boolean)
Use
HttpServerResponse.removeCookie(String, boolean)
Remove a cookie from the cookie set. If invalidate is true then it will expire a cookie, notifying a User Agent to
remove it from its cookie jar. |
io.vertx.ext.web.handler.StaticHandler.setAllowRootFileSystemAccess(boolean) |
io.vertx.ext.web.RoutingContext.setBody(Buffer)
This method is internal. Users that really need to use it should refer to
RoutingContextInternal.setBody(Buffer)
Set the body. Used by the BodyHandler . You will not normally call this method. |
io.vertx.ext.web.RoutingContext.setSession(Session)
This method is internal. Users that really need to use it should refer to
RoutingContextInternal.setSession(Session)
Set the session. Used by the SessionHandler . You will not normally call this method. |
io.vertx.ext.web.handler.StaticHandler.setWebRoot(String) |
io.vertx.ext.web.Route.useNormalisedPath(boolean) |
Copyright © 2022 Eclipse. All rights reserved.