public interface RoutingExchange
RoutingContext.| Modifier and Type | Method and Description |
|---|---|
io.vertx.ext.web.RoutingContext |
context() |
default Optional<String> |
getHeader(CharSequence headerName) |
default Optional<String> |
getParam(String paramName) |
default io.vertx.core.http.HttpServerResponse |
notFound() |
default io.vertx.core.http.HttpServerResponse |
ok() |
default void |
ok(String chunk) |
default io.vertx.core.http.HttpServerRequest |
request() |
default io.vertx.core.http.HttpServerResponse |
response() |
default io.vertx.core.http.HttpServerResponse |
serverError() |
io.vertx.ext.web.RoutingContext context()
default io.vertx.core.http.HttpServerRequest request()
default Optional<String> getParam(String paramName)
paramName - HttpServerRequest.getParam(String)default Optional<String> getHeader(CharSequence headerName)
paramName - HttpServerRequest.getHeader(CharSequence)default io.vertx.core.http.HttpServerResponse response()
default io.vertx.core.http.HttpServerResponse ok()
default void ok(String chunk)
default io.vertx.core.http.HttpServerResponse serverError()
default io.vertx.core.http.HttpServerResponse notFound()
Copyright © 2020 JBoss by Red Hat. All rights reserved.