Uses of Interface
io.vertx.core.http.HttpServerResponse
-
Packages that use HttpServerResponse Package Description io.vertx.core.http io.vertx.ext.web io.vertx.openapi.validation io.vertx.reactivex.core.http io.vertx.rxjava3.core.http -
-
Uses of HttpServerResponse in io.vertx.core.http
Methods in io.vertx.core.http that return HttpServerResponse Modifier and Type Method 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.HttpServerResponse
HttpServerResponse. putHeader(CharSequence name, CharSequence value)
LikeputHeader(String, String)
but using CharSequenceHttpServerResponse
HttpServerResponse. putHeader(CharSequence name, Iterable<CharSequence> values)
LikeputHeader(String, Iterable)
but with CharSequence IterableHttpServerResponse
HttpServerResponse. putHeader(String name, Iterable<String> values)
LikeputHeader(String, String)
but providing multiple values via a String IterableHttpServerResponse
HttpServerResponse. putHeader(String name, String value)
Put an HTTP headerHttpServerResponse
HttpServerResponse. putTrailer(CharSequence name, CharSequence value)
LikeputTrailer(String, String)
but using CharSequenceHttpServerResponse
HttpServerResponse. putTrailer(CharSequence name, Iterable<CharSequence> value)
LikeputTrailer(String, Iterable)
but with CharSequence IterableHttpServerResponse
HttpServerResponse. putTrailer(String name, Iterable<String> values)
LikeputTrailer(String, String)
but providing multiple values via a String IterableHttpServerResponse
HttpServerResponse. putTrailer(String name, String value)
Put an HTTP trailerHttpServerResponse
HttpServerRequest. response()
HttpServerResponse
HttpServerResponse. setChunked(boolean chunked)
Ifchunked
istrue
, 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 messagedefault HttpServerResponse
HttpServerResponse. setStreamPriority(StreamPriority streamPriority)
Sets the priority of the associated streamHttpServerResponse
HttpServerResponse. setWriteQueueMaxSize(int maxSize)
Methods in io.vertx.core.http that return types with arguments of type HttpServerResponse Modifier and Type Method Description Future<HttpServerResponse>
HttpServerResponse. push(HttpMethod method, HostAndPort authority, String path, MultiMap headers)
Push a response to the client.default Future<HttpServerResponse>
HttpServerResponse. push(HttpMethod method, String path)
Likepush(HttpMethod, String, String, MultiMap)
with the host copied from the current request.default Future<HttpServerResponse>
HttpServerResponse. push(HttpMethod method, String path, MultiMap headers)
Likepush(HttpMethod, String, String, MultiMap)
with the host copied from the current request.default Future<HttpServerResponse>
HttpServerResponse. push(HttpMethod method, String host, String path)
Likepush(HttpMethod, String, String, MultiMap)
with no headers.Future<HttpServerResponse>
HttpServerResponse. push(HttpMethod method, String host, String path, MultiMap headers)
Deprecated.instead usepush(HttpMethod, HostAndPort, String, MultiMap)
-
Uses of HttpServerResponse in io.vertx.ext.web
Methods in io.vertx.ext.web that return HttpServerResponse Modifier and Type Method Description HttpServerResponse
RoutingContext. response()
-
Uses of HttpServerResponse in io.vertx.openapi.validation
Methods in io.vertx.openapi.validation with parameters of type HttpServerResponse Modifier and Type Method Description Future<Void>
ValidatedResponse. send(HttpServerResponse serverResponse)
Add all parameters from the validated response to the passedHttpServerResponse
and send it. -
Uses of HttpServerResponse in io.vertx.reactivex.core.http
Methods in io.vertx.reactivex.core.http that return HttpServerResponse Modifier and Type Method Description HttpServerResponse
HttpServerResponse. getDelegate()
Methods in io.vertx.reactivex.core.http with parameters of type HttpServerResponse Modifier and Type Method Description static HttpServerResponse
HttpServerResponse. newInstance(HttpServerResponse arg)
Constructors in io.vertx.reactivex.core.http with parameters of type HttpServerResponse Constructor Description HttpServerResponse(HttpServerResponse delegate)
-
Uses of HttpServerResponse in io.vertx.rxjava3.core.http
Methods in io.vertx.rxjava3.core.http that return HttpServerResponse Modifier and Type Method Description HttpServerResponse
HttpServerResponse. getDelegate()
Methods in io.vertx.rxjava3.core.http with parameters of type HttpServerResponse Modifier and Type Method Description static HttpServerResponse
HttpServerResponse. newInstance(HttpServerResponse arg)
Constructors in io.vertx.rxjava3.core.http with parameters of type HttpServerResponse Constructor Description HttpServerResponse(HttpServerResponse delegate)
-