Uses of Interface
io.vertx.core.http.HttpServerResponse
Packages that use HttpServerResponse
Package
Description
-
Uses of HttpServerResponse in io.vertx.core.http
Methods in io.vertx.core.http that return HttpServerResponseModifier and TypeMethodDescriptionAdd a cookie.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.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.drainHandler(Handler<Void> handler) HttpServerResponse.endHandler(Handler<Void> handler) Set an end handler for the response.HttpServerResponse.exceptionHandler(Handler<Throwable> handler) HttpServerResponse.headersEndHandler(Handler<Void> handler) Provide a handler that will be called just before the headers are written to the wire.HttpServerResponse.putHeader(CharSequence name, CharSequence value) LikeHttpServerResponse.putHeader(String, String)but using CharSequenceHttpServerResponse.putHeader(CharSequence name, Iterable<CharSequence> values) LikeHttpServerResponse.putHeader(String, Iterable)but with CharSequence IterableLikeHttpServerResponse.putHeader(String, String)but providing multiple values via a String IterablePut an HTTP headerHttpServerResponse.putTrailer(CharSequence name, CharSequence value) LikeHttpServerResponse.putTrailer(String, String)but using CharSequenceHttpServerResponse.putTrailer(CharSequence name, Iterable<CharSequence> value) LikeHttpServerResponse.putTrailer(String, Iterable)but with CharSequence IterableHttpServerResponse.putTrailer(String name, Iterable<String> values) LikeHttpServerResponse.putTrailer(String, String)but providing multiple values via a String IterableHttpServerResponse.putTrailer(String name, String value) Put an HTTP trailerHttpServerRequest.response()HttpServerResponse.setChunked(boolean chunked) Ifchunkedistrue, 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.setStatusCode(int statusCode) Set the status code.HttpServerResponse.setStatusMessage(String statusMessage) Set the status messagedefault HttpServerResponseHttpServerResponse.setStreamPriority(StreamPriority streamPriority) Sets the priority of the associated streamHttpServerResponse.setWriteQueueMaxSize(int maxSize) Methods in io.vertx.core.http that return types with arguments of type HttpServerResponseModifier and TypeMethodDescriptiondefault Future<HttpServerResponse> HttpServerResponse.push(HttpMethod method, HostAndPort authority, String path) LikeHttpServerResponse.push(HttpMethod, HostAndPort, String, MultiMap)with no headers.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) LikeHttpServerResponse.push(HttpMethod, HostAndPort, String, MultiMap)with the host copied from the current request.default Future<HttpServerResponse> HttpServerResponse.push(HttpMethod method, String path, MultiMap headers) LikeHttpServerResponse.push(HttpMethod, HostAndPort, String, MultiMap)with the host copied from the current request. -
Uses of HttpServerResponse in io.vertx.ext.web
Methods in io.vertx.ext.web that return HttpServerResponse -
Uses of HttpServerResponse in io.vertx.openapi.validation
Methods in io.vertx.openapi.validation with parameters of type HttpServerResponseModifier and TypeMethodDescriptionValidatedResponse.send(HttpServerResponse serverResponse) Add all parameters from the validated response to the passedHttpServerResponseand send it. -
Uses of HttpServerResponse in io.vertx.reactivex.core.http
Methods in io.vertx.reactivex.core.http that return HttpServerResponseMethods in io.vertx.reactivex.core.http with parameters of type HttpServerResponseModifier and TypeMethodDescriptionstatic HttpServerResponseHttpServerResponse.newInstance(HttpServerResponse arg) Constructors in io.vertx.reactivex.core.http with parameters of type HttpServerResponse -
Uses of HttpServerResponse in io.vertx.rxjava3.core.http
Methods in io.vertx.rxjava3.core.http that return HttpServerResponseMethods in io.vertx.rxjava3.core.http with parameters of type HttpServerResponseModifier and TypeMethodDescriptionstatic HttpServerResponseHttpServerResponse.newInstance(HttpServerResponse arg) Constructors in io.vertx.rxjava3.core.http with parameters of type HttpServerResponse