Uses of Interface
io.vertx.core.http.HttpServerRequest
-
Packages that use HttpServerRequest Package Description io.vertx.core.http io.vertx.ext.web io.vertx.httpproxy io.vertx.micrometer io.vertx.openapi.validation io.vertx.reactivex.core.http io.vertx.rxjava3.core.http -
-
Uses of HttpServerRequest in io.vertx.core.http
Fields in io.vertx.core.http with type parameters of type HttpServerRequest Modifier and Type Field Description static Handler<HttpServerRequest>
HttpServerRequest. DEFAULT_INVALID_REQUEST_HANDLER
The default invalid request handler, it uses thedecoderResult()
cause and the request information to determine the status code of the response to be sent.Methods in io.vertx.core.http that return HttpServerRequest Modifier and Type Method Description default HttpServerRequest
HttpServerRequest. bodyHandler(Handler<Buffer> bodyHandler)
Convenience method for receiving the entire request body in one piece.HttpServerRequest
HttpServerRequest. customFrameHandler(Handler<HttpFrame> handler)
Set a custom frame handler.HttpServerRequest
HttpServerRequest. endHandler(Handler<Void> endHandler)
HttpServerRequest
HttpServerRequest. exceptionHandler(Handler<Throwable> handler)
HttpServerRequest
HttpServerRequest. fetch(long amount)
HttpServerRequest
HttpServerRequest. handler(Handler<Buffer> handler)
HttpServerRequest
HttpServerRequest. pause()
HttpServerRequest
HttpServerRequest. resume()
default HttpServerRequest
HttpServerRequest. routed(String route)
Marks this request as being routed to the given route.HttpServerRequest
HttpServerRequest. setExpectMultipart(boolean expect)
Call this with true if you are expecting a multi-part body to be submitted in the request.HttpServerRequest
HttpServerRequest. setParamsCharset(String charset)
Override the charset to use for decoding the query parameter map, when none is set,UTF8
is used.HttpServerRequest
HttpServerRequest. streamPriorityHandler(Handler<StreamPriority> handler)
Set an handler for stream priority changesHttpServerRequest
HttpServerRequest. uploadHandler(Handler<HttpServerFileUpload> uploadHandler)
Set an upload handler.Methods in io.vertx.core.http that return types with arguments of type HttpServerRequest Modifier and Type Method Description Handler<HttpServerRequest>
HttpServer. requestHandler()
Method parameters in io.vertx.core.http with type arguments of type HttpServerRequest Modifier and Type Method Description HttpServer
HttpServer. invalidRequestHandler(Handler<HttpServerRequest> handler)
Set ahandler
for handling invalid requests.HttpServer
HttpServer. requestHandler(Handler<HttpServerRequest> handler)
Set the request handler for the server torequestHandler
. -
Uses of HttpServerRequest in io.vertx.ext.web
Subinterfaces of HttpServerRequest in io.vertx.ext.web Modifier and Type Interface Description interface
WebServerRequest
Extends to access the routing context associated with the request.Methods in io.vertx.ext.web that return HttpServerRequest Modifier and Type Method Description HttpServerRequest
RoutingContext. request()
-
Uses of HttpServerRequest in io.vertx.httpproxy
Methods in io.vertx.httpproxy that return HttpServerRequest Modifier and Type Method Description HttpServerRequest
ProxyRequest. proxiedRequest()
Methods in io.vertx.httpproxy with parameters of type HttpServerRequest Modifier and Type Method Description void
HttpProxy. handle(HttpServerRequest request)
Handle the outboundHttpServerRequest
.static ProxyRequest
ProxyRequest. reverseProxy(HttpServerRequest proxiedRequest)
Create a newProxyRequest
instance, the proxied request will be paused.Method parameters in io.vertx.httpproxy with type arguments of type HttpServerRequest Modifier and Type Method Description HttpProxy
HttpProxy. originRequestProvider(java.util.function.BiFunction<HttpServerRequest,HttpClient,Future<HttpClientRequest>> provider)
Set a provider that creates the request to the origin server based the incoming HTTP request.default HttpProxy
HttpProxy. originSelector(java.util.function.Function<HttpServerRequest,Future<SocketAddress>> selector)
Set a selector that resolves the origin address based on the incoming HTTP request. -
Uses of HttpServerRequest in io.vertx.micrometer
Methods in io.vertx.micrometer that return types with arguments of type HttpServerRequest Modifier and Type Method Description static Handler<HttpServerRequest>
PrometheusRequestHandler. create()
Creates a handler with a new PrometheusMeterRegistry and the default metrics endpoint ("/metrics").static Handler<HttpServerRequest>
PrometheusRequestHandler. create(io.micrometer.prometheusmetrics.PrometheusMeterRegistry registry)
Creates a handler with the specified PrometheusMeterRegistry and the default metrics endpoint ("/metrics").static Handler<HttpServerRequest>
PrometheusRequestHandler. create(io.micrometer.prometheusmetrics.PrometheusMeterRegistry registry, String metricsEndpoint)
Creates a handler with the specified PrometheusMeterRegistry and metrics endpoint. -
Uses of HttpServerRequest in io.vertx.openapi.validation
Methods in io.vertx.openapi.validation with parameters of type HttpServerRequest Modifier and Type Method Description static Future<ValidatableRequest>
RequestUtils. extract(HttpServerRequest request, Operation operation)
Extracts and transforms the parameters and the body of an incoming request into aformat
that can be validated by theRequestValidator
.static Future<ValidatableRequest>
RequestUtils. extract(HttpServerRequest request, Operation operation, java.util.function.Supplier<Future<Buffer>> bodySupplier)
LikeRequestUtils.extract(HttpServerRequest, Operation)
, but offers to pass a supplier fpr the body.static Future<ValidatableRequest>
ValidatableRequest. of(HttpServerRequest request, Operation operation)
Future<ValidatedRequest>
RequestValidator. validate(HttpServerRequest request)
LikeRequestValidator.validate(ValidatableRequest, String)
, but the operationId andValidatableRequest
are determined from the passed request.Future<ValidatedRequest>
RequestValidator. validate(HttpServerRequest request, String operationId)
LikeRequestValidator.validate(ValidatableRequest, String)
, butValidatableRequest
are directly extracted from the passed request. -
Uses of HttpServerRequest in io.vertx.reactivex.core.http
Methods in io.vertx.reactivex.core.http that return HttpServerRequest Modifier and Type Method Description HttpServerRequest
HttpServerRequest. getDelegate()
Methods in io.vertx.reactivex.core.http with parameters of type HttpServerRequest Modifier and Type Method Description static HttpServerRequest
HttpServerRequest. newInstance(HttpServerRequest arg)
Constructors in io.vertx.reactivex.core.http with parameters of type HttpServerRequest Constructor Description HttpServerRequest(HttpServerRequest delegate)
-
Uses of HttpServerRequest in io.vertx.rxjava3.core.http
Methods in io.vertx.rxjava3.core.http that return HttpServerRequest Modifier and Type Method Description HttpServerRequest
HttpServerRequest. getDelegate()
Methods in io.vertx.rxjava3.core.http with parameters of type HttpServerRequest Modifier and Type Method Description static HttpServerRequest
HttpServerRequest. newInstance(HttpServerRequest arg)
Constructors in io.vertx.rxjava3.core.http with parameters of type HttpServerRequest Constructor Description HttpServerRequest(HttpServerRequest delegate)
-