| Package | Description |
|---|---|
| io.vertx.core.http | |
| io.vertx.core.http.impl | |
| io.vertx.core.spi.metrics | |
| io.vertx.ext.web | |
| io.vertx.ext.web.impl | |
| io.vertx.reactivex.core.http | |
| io.vertx.rxjava.core.http |
| Modifier and Type | Method and 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() |
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.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.requestHandler(Handler<HttpServerRequest> handler)
Set the request handler for the server to
requestHandler. |
| Modifier and Type | Class and Description |
|---|---|
class |
Http2ServerRequestImpl |
class |
HttpServerRequestImpl
This class is optimised for performance when used on the same event loop that is was passed to the handler with.
|
| Modifier and Type | Method and Description |
|---|---|
Handler<HttpServerRequest> |
HttpServerImpl.requestHandler() |
ReadStream<HttpServerRequest> |
HttpServerImpl.requestStream() |
| Modifier and Type | Method and Description |
|---|---|
void |
WebSocketRequestHandler.handle(HttpServerRequest req) |
| Modifier and Type | Method and Description |
|---|---|
HttpServerConnection |
HttpServerConnection.handler(Handler<HttpServerRequest> handler) |
HttpServerConnection |
Http1xServerConnection.handler(Handler<HttpServerRequest> handler) |
HttpServerConnection |
Http2ServerConnection.handler(Handler<HttpServerRequest> handler) |
HttpServer |
HttpServerImpl.requestHandler(Handler<HttpServerRequest> handler) |
| Constructor and Description |
|---|
HttpHandlers(HttpServerImpl server,
Handler<HttpServerRequest> requestHandler,
Handler<ServerWebSocket> wsHandler,
Handler<HttpConnection> connectionHandler,
Handler<Throwable> exceptionHandler) |
| Modifier and Type | Method and Description |
|---|---|
default R |
HttpServerMetrics.requestBegin(S socketMetric,
HttpServerRequest request)
Called when an http server request begins.
|
| Modifier and Type | Method and Description |
|---|---|
HttpServerRequest |
RoutingContext.request() |
| Modifier and Type | Method and Description |
|---|---|
default void |
Router.accept(HttpServerRequest request)
Deprecated.
|
| Modifier and Type | Field and Description |
|---|---|
protected HttpServerRequest |
RoutingContextImplBase.request |
| Modifier and Type | Method and Description |
|---|---|
HttpServerRequest |
RoutingContextImpl.request() |
HttpServerRequest |
RoutingContextWrapper.request() |
HttpServerRequest |
RoutingContextDecorator.request() |
| Modifier and Type | Method and Description |
|---|---|
void |
RouterImpl.handle(HttpServerRequest request) |
| Constructor and Description |
|---|
RoutingContextImpl(String mountPoint,
RouterImpl router,
HttpServerRequest request,
Set<RouteImpl> routes) |
RoutingContextWrapper(String mountPoint,
HttpServerRequest request,
Set<RouteImpl> iter,
RoutingContext inner) |
| 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 © 2020. All rights reserved.