Package | Description |
---|---|
io.vertx.rxjava3.core.http | |
io.vertx.rxjava3.ext.web | |
io.vertx.rxjava3.openapi.validation |
Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<HttpServerResponse> |
HttpServerResponse.__TYPE_ARG |
Modifier and Type | Method and Description |
---|---|
HttpServerResponse |
HttpServerResponse.addCookie(Cookie cookie)
Add a cookie.
|
HttpServerResponse |
HttpServerResponse.bodyEndHandler(Handler<Void> handler)
Provides a handler that will be called after the last part of the body is written to the wire.
|
HttpServerResponse |
HttpServerResponse.closeHandler(Handler<Void> handler)
Set a close handler for the response, this is called when the underlying connection is closed and the response
was still using the connection.
|
HttpServerResponse |
HttpServerResponse.drainHandler(Handler<Void> handler) |
HttpServerResponse |
HttpServerResponse.endHandler(Handler<Void> handler)
Set an end handler for the response.
|
HttpServerResponse |
HttpServerResponse.exceptionHandler(Handler<Throwable> handler) |
HttpServerResponse |
HttpServerResponse.headersEndHandler(Handler<Void> handler)
Provide a handler that will be called just before the headers are written to the wire.
|
static HttpServerResponse |
HttpServerResponse.newInstance(HttpServerResponse arg) |
HttpServerResponse |
HttpServerResponse.putHeader(CharSequence name,
CharSequence value)
Like
putHeader(java.lang.String, java.lang.String) but using CharSequence |
HttpServerResponse |
HttpServerResponse.putHeader(CharSequence name,
Iterable<CharSequence> values)
Like
putHeader(java.lang.String, java.lang.String) but with CharSequence Iterable |
HttpServerResponse |
HttpServerResponse.putHeader(String name,
Iterable<String> values)
Like
putHeader(java.lang.String, java.lang.String) but providing multiple values via a String Iterable |
HttpServerResponse |
HttpServerResponse.putHeader(String name,
String value)
Put an HTTP header
|
HttpServerResponse |
HttpServerResponse.putTrailer(CharSequence name,
CharSequence value)
Like
putTrailer(java.lang.String, java.lang.String) but using CharSequence |
HttpServerResponse |
HttpServerResponse.putTrailer(CharSequence name,
Iterable<CharSequence> value)
Like
putTrailer(java.lang.String, java.lang.String) but with CharSequence Iterable |
HttpServerResponse |
HttpServerResponse.putTrailer(String name,
Iterable<String> values)
Like
putTrailer(java.lang.String, java.lang.String) but providing multiple values via a String Iterable |
HttpServerResponse |
HttpServerResponse.putTrailer(String name,
String value)
Put an HTTP trailer
|
HttpServerResponse |
HttpServerRequest.response() |
HttpServerResponse |
HttpServerResponse.setChunked(boolean chunked)
If
chunked is true , this response will use HTTP chunked encoding, and each call to write to the body
will correspond to a new HTTP chunk sent on the wire. |
HttpServerResponse |
HttpServerResponse.setStatusCode(int statusCode)
Set the status code.
|
HttpServerResponse |
HttpServerResponse.setStatusMessage(String statusMessage)
Set the status message
|
HttpServerResponse |
HttpServerResponse.setStreamPriority(StreamPriority streamPriority)
Sets the priority of the associated stream
This is not implemented for HTTP/1.x.
|
HttpServerResponse |
HttpServerResponse.setWriteQueueMaxSize(int maxSize) |
HttpServerResponse |
HttpServerResponse.writeContinue()
Used to write an interim 100 Continue response to signify that the client should send the rest of the request.
|
HttpServerResponse |
HttpServerResponse.writeCustomFrame(HttpFrame frame)
Like
writeCustomFrame(int, int, io.vertx.rxjava3.core.buffer.Buffer) but with an HttpFrame . |
HttpServerResponse |
HttpServerResponse.writeCustomFrame(int type,
int flags,
Buffer payload)
Write an HTTP/2 frame to the response, allowing to extend the HTTP/2 protocol.
|
Modifier and Type | Method and Description |
---|---|
Future<HttpServerResponse> |
HttpServerResponse.push(HttpMethod method,
HostAndPort authority,
String path,
MultiMap headers)
Same as
push(io.vertx.core.http.HttpMethod, java.lang.String, java.lang.String) but with an handler called when the operation completes |
Single<HttpServerResponse> |
HttpServerResponse.push(HttpMethod method,
String path)
Like
push(io.vertx.core.http.HttpMethod, java.lang.String, java.lang.String) with the host copied from the current request. |
Single<HttpServerResponse> |
HttpServerResponse.push(HttpMethod method,
String path,
MultiMap headers)
Like
push(io.vertx.core.http.HttpMethod, java.lang.String, java.lang.String) with the host copied from the current request. |
Single<HttpServerResponse> |
HttpServerResponse.push(HttpMethod method,
String host,
String path)
Like
push(io.vertx.core.http.HttpMethod, java.lang.String, java.lang.String) with no headers. |
Single<HttpServerResponse> |
HttpServerResponse.push(HttpMethod method,
String host,
String path,
MultiMap headers)
Push a response to the client.
The
handler will be notified with a success when the push can be sent and with
a failure when the client has disabled push or reset the push before it has been sent.
The handler may be queued if the client has reduced the maximum number of streams the server can push
concurrently.
Push can be sent only for peer initiated streams and if the response is not ended. |
Single<HttpServerResponse> |
HttpServerResponse.rxPush(HttpMethod method,
String path)
Like
push(io.vertx.core.http.HttpMethod, java.lang.String, java.lang.String) with the host copied from the current request. |
Single<HttpServerResponse> |
HttpServerResponse.rxPush(HttpMethod method,
String path,
MultiMap headers)
Like
push(io.vertx.core.http.HttpMethod, java.lang.String, java.lang.String) with the host copied from the current request. |
Single<HttpServerResponse> |
HttpServerResponse.rxPush(HttpMethod method,
String host,
String path)
Like
push(io.vertx.core.http.HttpMethod, java.lang.String, java.lang.String) with no headers. |
Single<HttpServerResponse> |
HttpServerResponse.rxPush(HttpMethod method,
String host,
String path,
MultiMap headers)
Push a response to the client.
The
handler will be notified with a success when the push can be sent and with
a failure when the client has disabled push or reset the push before it has been sent.
The handler may be queued if the client has reduced the maximum number of streams the server can push
concurrently.
Push can be sent only for peer initiated streams and if the response is not ended. |
Modifier and Type | Method and Description |
---|---|
HttpServerResponse |
RoutingContext.response() |
Modifier and Type | Method and Description |
---|---|
Completable |
ValidatedResponse.rxSend(HttpServerResponse serverResponse)
Add all parameters from the validated response to the passed and send it.
|
Completable |
ValidatedResponse.send(HttpServerResponse serverResponse)
Add all parameters from the validated response to the passed and send it.
|
Copyright © 2024 Eclipse. All rights reserved.