Uses of Class
io.vertx.reactivex.core.http.HttpServerResponse
-
Packages that use HttpServerResponse Package Description io.vertx.reactivex.core.http io.vertx.reactivex.ext.web io.vertx.reactivex.openapi.validation -
-
Uses of HttpServerResponse in io.vertx.reactivex.core.http
Fields in io.vertx.reactivex.core.http with type parameters of type HttpServerResponse Modifier and Type Field Description static TypeArg<HttpServerResponse>HttpServerResponse. __TYPE_ARGMethods in io.vertx.reactivex.core.http that return HttpServerResponse Modifier and Type Method Description HttpServerResponseHttpServerResponse. addCookie(Cookie cookie)Add a cookie.HttpServerResponseHttpServerResponse. bodyEndHandler(io.vertx.core.Handler<Void> handler)Provides a handler that will be called after the last part of the body is written to the wire.HttpServerResponseHttpServerResponse. closeHandler(io.vertx.core.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.HttpServerResponseHttpServerResponse. drainHandler(io.vertx.core.Handler<Void> handler)HttpServerResponseHttpServerResponse. endHandler(io.vertx.core.Handler<Void> handler)Set an end handler for the response.HttpServerResponseHttpServerResponse. exceptionHandler(io.vertx.core.Handler<Throwable> handler)HttpServerResponseHttpServerResponse. headersEndHandler(io.vertx.core.Handler<Void> handler)Provide a handler that will be called just before the headers are written to the wire.static HttpServerResponseHttpServerResponse. newInstance(io.vertx.core.http.HttpServerResponse arg)HttpServerResponseHttpServerResponse. push(io.vertx.core.http.HttpMethod method, String path)Likepush(io.vertx.core.http.HttpMethod, java.lang.String, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.core.http.HttpServerResponse>>)with the host copied from the current request.HttpServerResponseHttpServerResponse. push(io.vertx.core.http.HttpMethod method, String path, io.vertx.core.Handler<io.vertx.core.AsyncResult<HttpServerResponse>> handler)Likepush(io.vertx.core.http.HttpMethod, java.lang.String, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.core.http.HttpServerResponse>>)with the host copied from the current request.HttpServerResponseHttpServerResponse. push(io.vertx.core.http.HttpMethod method, String path, MultiMap headers)Likepush(io.vertx.core.http.HttpMethod, java.lang.String, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.core.http.HttpServerResponse>>)with the host copied from the current request.HttpServerResponseHttpServerResponse. push(io.vertx.core.http.HttpMethod method, String path, MultiMap headers, io.vertx.core.Handler<io.vertx.core.AsyncResult<HttpServerResponse>> handler)Likepush(io.vertx.core.http.HttpMethod, java.lang.String, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.core.http.HttpServerResponse>>)with the host copied from the current request.HttpServerResponseHttpServerResponse. push(io.vertx.core.http.HttpMethod method, String host, String path)HttpServerResponseHttpServerResponse. push(io.vertx.core.http.HttpMethod method, String host, String path, io.vertx.core.Handler<io.vertx.core.AsyncResult<HttpServerResponse>> handler)HttpServerResponseHttpServerResponse. push(io.vertx.core.http.HttpMethod method, String host, String path, MultiMap headers)Push a response to the client.HttpServerResponseHttpServerResponse. push(io.vertx.core.http.HttpMethod method, String host, String path, MultiMap headers, io.vertx.core.Handler<io.vertx.core.AsyncResult<HttpServerResponse>> handler)Push a response to the client.HttpServerResponseHttpServerResponse. putHeader(CharSequence name, CharSequence value)LikeputHeader(java.lang.String, java.lang.String)but using CharSequenceHttpServerResponseHttpServerResponse. putHeader(CharSequence name, Iterable<CharSequence> values)LikeputHeader(java.lang.String, java.lang.String)but with CharSequence IterableHttpServerResponseHttpServerResponse. putHeader(String name, Iterable<String> values)LikeputHeader(java.lang.String, java.lang.String)but providing multiple values via a String IterableHttpServerResponseHttpServerResponse. putHeader(String name, String value)Put an HTTP headerHttpServerResponseHttpServerResponse. putTrailer(CharSequence name, CharSequence value)LikeputTrailer(java.lang.String, java.lang.String)but using CharSequenceHttpServerResponseHttpServerResponse. putTrailer(CharSequence name, Iterable<CharSequence> value)LikeputTrailer(java.lang.String, java.lang.String)but with CharSequence IterableHttpServerResponseHttpServerResponse. putTrailer(String name, Iterable<String> values)LikeputTrailer(java.lang.String, java.lang.String)but providing multiple values via a String IterableHttpServerResponseHttpServerResponse. putTrailer(String name, String value)Put an HTTP trailerHttpServerResponseHttpServerRequest. response()HttpServerResponseHttpServerResponse. sendFile(String filename)LikesendFile(java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>)but providing a handler which will be notified once the file has been completely written to the wire.HttpServerResponseHttpServerResponse. sendFile(String filename, long offset)LikesendFile(java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>)but providing a handler which will be notified once the file has been completely written to the wire.HttpServerResponseHttpServerResponse. sendFile(String filename, long offset, long length)LikesendFile(java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>)but providing a handler which will be notified once the file has been completely written to the wire.HttpServerResponseHttpServerResponse. sendFile(String filename, long offset, long length, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> resultHandler)LikesendFile(java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>)but providing a handler which will be notified once the file has been completely written to the wire.HttpServerResponseHttpServerResponse. sendFile(String filename, long offset, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> resultHandler)LikesendFile(java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>)but providing a handler which will be notified once the file has been completely written to the wire.HttpServerResponseHttpServerResponse. sendFile(String filename, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> resultHandler)LikesendFile(java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>)but providing a handler which will be notified once the file has been completely written to the wire.HttpServerResponseHttpServerResponse. 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.HttpServerResponseHttpServerResponse. setStatusCode(int statusCode)Set the status code.HttpServerResponseHttpServerResponse. setStatusMessage(String statusMessage)Set the status messageHttpServerResponseHttpServerResponse. setStreamPriority(io.vertx.core.http.StreamPriority streamPriority)Sets the priority of the associated streamHttpServerResponseHttpServerResponse. setWriteQueueMaxSize(int maxSize)HttpServerResponseHttpServerResponse. writeContinue()Used to write an interim 100 Continue response to signify that the client should send the rest of the request.HttpServerResponseHttpServerResponse. writeCustomFrame(int type, int flags, Buffer payload)Write an HTTP/2 frame to the response, allowing to extend the HTTP/2 protocol.HttpServerResponseHttpServerResponse. writeCustomFrame(HttpFrame frame)LikewriteCustomFrame(int, int, io.vertx.reactivex.core.buffer.Buffer)but with anHttpFrame.Methods in io.vertx.reactivex.core.http that return types with arguments of type HttpServerResponse Modifier and Type Method Description io.vertx.core.Future<HttpServerResponse>HttpServerResponse. push(io.vertx.core.http.HttpMethod method, HostAndPort authority, String path, MultiMap headers)Same aspush(io.vertx.core.http.HttpMethod, java.lang.String, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.core.http.HttpServerResponse>>)but with anhandlercalled when the operation completesio.reactivex.Single<HttpServerResponse>HttpServerResponse. rxPush(io.vertx.core.http.HttpMethod method, String path)Likepush(io.vertx.core.http.HttpMethod, java.lang.String, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.core.http.HttpServerResponse>>)with the host copied from the current request.io.reactivex.Single<HttpServerResponse>HttpServerResponse. rxPush(io.vertx.core.http.HttpMethod method, String path, MultiMap headers)Likepush(io.vertx.core.http.HttpMethod, java.lang.String, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.core.http.HttpServerResponse>>)with the host copied from the current request.io.reactivex.Single<HttpServerResponse>HttpServerResponse. rxPush(io.vertx.core.http.HttpMethod method, String host, String path)io.reactivex.Single<HttpServerResponse>HttpServerResponse. rxPush(io.vertx.core.http.HttpMethod method, String host, String path, MultiMap headers)Push a response to the client.Method parameters in io.vertx.reactivex.core.http with type arguments of type HttpServerResponse Modifier and Type Method Description HttpServerResponseHttpServerResponse. push(io.vertx.core.http.HttpMethod method, String path, io.vertx.core.Handler<io.vertx.core.AsyncResult<HttpServerResponse>> handler)Likepush(io.vertx.core.http.HttpMethod, java.lang.String, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.core.http.HttpServerResponse>>)with the host copied from the current request.HttpServerResponseHttpServerResponse. push(io.vertx.core.http.HttpMethod method, String path, MultiMap headers, io.vertx.core.Handler<io.vertx.core.AsyncResult<HttpServerResponse>> handler)Likepush(io.vertx.core.http.HttpMethod, java.lang.String, java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.core.http.HttpServerResponse>>)with the host copied from the current request.HttpServerResponseHttpServerResponse. push(io.vertx.core.http.HttpMethod method, String host, String path, io.vertx.core.Handler<io.vertx.core.AsyncResult<HttpServerResponse>> handler)HttpServerResponseHttpServerResponse. push(io.vertx.core.http.HttpMethod method, String host, String path, MultiMap headers, io.vertx.core.Handler<io.vertx.core.AsyncResult<HttpServerResponse>> handler)Push a response to the client. -
Uses of HttpServerResponse in io.vertx.reactivex.ext.web
Methods in io.vertx.reactivex.ext.web that return HttpServerResponse Modifier and Type Method Description HttpServerResponseRoutingContext. response() -
Uses of HttpServerResponse in io.vertx.reactivex.openapi.validation
Methods in io.vertx.reactivex.openapi.validation with parameters of type HttpServerResponse Modifier and Type Method Description io.reactivex.CompletableValidatedResponse. rxSend(HttpServerResponse serverResponse)Add all parameters from the validated response to the passed and send it.io.vertx.core.Future<Void>ValidatedResponse. send(HttpServerResponse serverResponse)Add all parameters from the validated response to the passed and send it.
-