Package | Description |
---|---|
io.vertx.core.http | |
io.vertx.ext.web | |
io.vertx.ext.web.handler | |
io.vertx.reactivex.core.http | |
io.vertx.rxjava.core.http |
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.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 | Method and Description |
---|---|
HttpServerRequest |
RoutingContext.request() |
Modifier and Type | Method and Description |
---|---|
LoggerHandler |
LoggerHandler.customFormatter(java.util.function.Function<HttpServerRequest,String> formatter)
Set the custom formatter to be used by the handler.
|
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 © 2021 Eclipse. All rights reserved.