Uses of Class
io.vertx.rxjava.core.http.HttpServerResponse
-
Packages that use HttpServerResponse Package Description io.vertx.rxjava.core.http io.vertx.rxjava.ext.web -
-
Uses of HttpServerResponse in io.vertx.rxjava.core.http
Fields in io.vertx.rxjava.core.http with type parameters of type HttpServerResponse Modifier and Type Field Description static TypeArg<HttpServerResponse>
HttpServerResponse. __TYPE_ARG
Methods in io.vertx.rxjava.core.http that return HttpServerResponse Modifier and Type Method Description HttpServerResponse
HttpServerResponse. addCookie(Cookie cookie)
Add a cookie.HttpServerResponse
HttpServerResponse. 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.HttpServerResponse
HttpServerResponse. 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.HttpServerResponse
HttpServerResponse. drainHandler(io.vertx.core.Handler<Void> handler)
HttpServerResponse
HttpServerResponse. endHandler(io.vertx.core.Handler<Void> handler)
Set an end handler for the response.HttpServerResponse
HttpServerResponse. exceptionHandler(io.vertx.core.Handler<Throwable> handler)
HttpServerResponse
HttpServerResponse. headersEndHandler(io.vertx.core.Handler<Void> handler)
Provide a handler that will be called just before the headers are written to the wire.static HttpServerResponse
HttpServerResponse. newInstance(io.vertx.core.http.HttpServerResponse arg)
HttpServerResponse
HttpServerResponse. 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.rxjava.core.http.HttpServerResponse>>)
with the host copied from the current request.HttpServerResponse
HttpServerResponse. 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.rxjava.core.http.HttpServerResponse>>)
with the host copied from the current request.HttpServerResponse
HttpServerResponse. 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.rxjava.core.http.HttpServerResponse>>)
with the host copied from the current request.HttpServerResponse
HttpServerResponse. 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.rxjava.core.http.HttpServerResponse>>)
with the host copied from the current request.HttpServerResponse
HttpServerResponse. push(io.vertx.core.http.HttpMethod method, String host, String path)
HttpServerResponse
HttpServerResponse. push(io.vertx.core.http.HttpMethod method, String host, String path, io.vertx.core.Handler<io.vertx.core.AsyncResult<HttpServerResponse>> handler)
HttpServerResponse
HttpServerResponse. push(io.vertx.core.http.HttpMethod method, String host, String path, MultiMap headers)
Push a response to the client.HttpServerResponse
HttpServerResponse. 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.HttpServerResponse
HttpServerResponse. putHeader(CharSequence name, CharSequence value)
LikeputHeader(java.lang.String, java.lang.String)
but using CharSequenceHttpServerResponse
HttpServerResponse. putHeader(CharSequence name, Iterable<CharSequence> values)
LikeputHeader(java.lang.String, java.lang.String)
but with CharSequence IterableHttpServerResponse
HttpServerResponse. putHeader(String name, Iterable<String> values)
LikeputHeader(java.lang.String, java.lang.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(java.lang.String, java.lang.String)
but using CharSequenceHttpServerResponse
HttpServerResponse. putTrailer(CharSequence name, Iterable<CharSequence> value)
LikeputTrailer(java.lang.String, java.lang.String)
but with CharSequence IterableHttpServerResponse
HttpServerResponse. putTrailer(String name, Iterable<String> values)
LikeputTrailer(java.lang.String, java.lang.String)
but providing multiple values via a String IterableHttpServerResponse
HttpServerResponse. putTrailer(String name, String value)
Put an HTTP trailerHttpServerResponse
HttpServerRequest. response()
HttpServerResponse
HttpServerResponse. 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.HttpServerResponse
HttpServerResponse. 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.HttpServerResponse
HttpServerResponse. 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.HttpServerResponse
HttpServerResponse. 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.HttpServerResponse
HttpServerResponse. 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.HttpServerResponse
HttpServerResponse. 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.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 messageHttpServerResponse
HttpServerResponse. setStreamPriority(io.vertx.core.http.StreamPriority streamPriority)
Sets the priority of the associated streamHttpServerResponse
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(int type, int flags, Buffer payload)
Write an HTTP/2 frame to the response, allowing to extend the HTTP/2 protocol.HttpServerResponse
HttpServerResponse. writeCustomFrame(HttpFrame frame)
LikewriteCustomFrame(int, int, io.vertx.rxjava.core.buffer.Buffer)
but with anHttpFrame
.Methods in io.vertx.rxjava.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.rxjava.core.http.HttpServerResponse>>)
but with anhandler
called when the operation completesrx.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.rxjava.core.http.HttpServerResponse>>)
with the host copied from the current request.rx.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.rxjava.core.http.HttpServerResponse>>)
with the host copied from the current request.rx.Single<HttpServerResponse>
HttpServerResponse. rxPush(io.vertx.core.http.HttpMethod method, String host, String path)
rx.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.rxjava.core.http with type arguments of type HttpServerResponse Modifier and Type Method Description HttpServerResponse
HttpServerResponse. 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.rxjava.core.http.HttpServerResponse>>)
with the host copied from the current request.HttpServerResponse
HttpServerResponse. 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.rxjava.core.http.HttpServerResponse>>)
with the host copied from the current request.HttpServerResponse
HttpServerResponse. push(io.vertx.core.http.HttpMethod method, String host, String path, io.vertx.core.Handler<io.vertx.core.AsyncResult<HttpServerResponse>> handler)
HttpServerResponse
HttpServerResponse. 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.rxjava.ext.web
Methods in io.vertx.rxjava.ext.web that return HttpServerResponse Modifier and Type Method Description HttpServerResponse
RoutingContext. response()
-