Package | Description |
---|---|
io.vertx.core.http | |
io.vertx.ext.web | |
io.vertx.ext.web.handler | |
io.vertx.httpproxy | |
io.vertx.reactivex.core.http | |
io.vertx.rxjava.core.http | |
io.vertx.rxjava3.core.http |
Modifier and Type | Field and Description |
---|---|
static Handler<HttpServerRequest> |
HttpServerRequest.DEFAULT_INVALID_REQUEST_HANDLER
The default invalid request handler, it uses the
decoderResult() cause and the request information
to determine the status code of the response to be sent. |
Modifier and Type | Method and Description |
---|---|
default HttpServerRequest |
HttpServerRequest.body(Handler<AsyncResult<Buffer>> handler)
Same as
body() but with an handler called when the operation completes |
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 changes
|
HttpServerRequest |
HttpServerRequest.uploadHandler(Handler<HttpServerFileUpload> uploadHandler)
Set an upload handler.
|
Modifier and Type | Method and Description |
---|---|
Handler<HttpServerRequest> |
HttpServer.requestHandler() |
ReadStream<HttpServerRequest> |
HttpServer.requestStream()
Return the request stream for the server.
|
Modifier and Type | Method and Description |
---|---|
HttpServer |
HttpServer.invalidRequestHandler(Handler<HttpServerRequest> handler)
Set a
handler for handling invalid requests. |
HttpServer |
HttpServer.requestHandler(Handler<HttpServerRequest> handler)
Set the request handler for the server to
requestHandler . |
Modifier and Type | Method and Description |
---|---|
HttpServerRequest |
RoutingContext.request() |
Modifier and Type | Method and Description |
---|---|
LoggerHandler |
LoggerHandler.customFormatter(java.util.function.Function<HttpServerRequest,String> formatter)
Deprecated.
Superseded by
LoggerHandler.customFormatter(LoggerFormatter) |
Modifier and Type | Method and Description |
---|---|
HttpServerRequest |
ProxyRequest.proxiedRequest() |
Modifier and Type | Method and Description |
---|---|
void |
HttpProxy.handle(HttpServerRequest request)
Handle the outbound
HttpServerRequest . |
static ProxyRequest |
ProxyRequest.reverseProxy(HttpServerRequest proxiedRequest)
Create a new
ProxyRequest instance, the proxied request will be paused. |
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
HttpServerRequest |
HttpServerRequest.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static HttpServerRequest |
HttpServerRequest.newInstance(HttpServerRequest arg) |
Constructor and Description |
---|
HttpServerRequest(HttpServerRequest delegate) |
Modifier and Type | Method and Description |
---|---|
HttpServerRequest |
HttpServerRequest.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static HttpServerRequest |
HttpServerRequest.newInstance(HttpServerRequest arg) |
Constructor and Description |
---|
HttpServerRequest(HttpServerRequest delegate) |
Modifier and Type | Method and Description |
---|---|
HttpServerRequest |
HttpServerRequest.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static HttpServerRequest |
HttpServerRequest.newInstance(HttpServerRequest arg) |
Constructor and Description |
---|
HttpServerRequest(HttpServerRequest delegate) |
Copyright © 2023 Eclipse. All rights reserved.