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.push(HttpMethod method,
String path) |
|
HttpServerResponse |
HttpServerResponse.push(HttpMethod method,
String path,
Handler<AsyncResult<HttpServerResponse>> handler) |
|
HttpServerResponse |
HttpServerResponse.push(HttpMethod method,
String path,
MultiMap headers) |
|
HttpServerResponse |
HttpServerResponse.push(HttpMethod method,
String path,
MultiMap headers,
Handler<AsyncResult<HttpServerResponse>> handler) |
|
HttpServerResponse |
HttpServerResponse.push(HttpMethod method,
String host,
String path) |
|
HttpServerResponse |
HttpServerResponse.push(HttpMethod method,
String host,
String path,
Handler<AsyncResult<HttpServerResponse>> handler) |
|
HttpServerResponse |
HttpServerResponse.push(HttpMethod method,
String host,
String path,
MultiMap headers) |
Push a response to the client.
|
HttpServerResponse |
HttpServerResponse.push(HttpMethod method,
String host,
String path,
MultiMap headers,
Handler<AsyncResult<HttpServerResponse>> handler) |
Push a response to the client.
|
HttpServerResponse |
HttpServerResponse.putHeader(CharSequence name,
CharSequence value) |
|
HttpServerResponse |
HttpServerResponse.putHeader(CharSequence name,
Iterable<CharSequence> values) |
|
HttpServerResponse |
HttpServerResponse.putHeader(String name,
Iterable<String> values) |
|
HttpServerResponse |
HttpServerResponse.putHeader(String name,
String value) |
Put an HTTP header
|
HttpServerResponse |
HttpServerResponse.putTrailer(CharSequence name,
CharSequence value) |
|
HttpServerResponse |
HttpServerResponse.putTrailer(CharSequence name,
Iterable<CharSequence> value) |
|
HttpServerResponse |
HttpServerResponse.putTrailer(String name,
Iterable<String> values) |
|
HttpServerResponse |
HttpServerResponse.putTrailer(String name,
String value) |
Put an HTTP trailer
|
HttpServerResponse |
HttpServerRequest.response() |
|
HttpServerResponse |
HttpServerResponse.sendFile(String filename) |
|
HttpServerResponse |
HttpServerResponse.sendFile(String filename,
long offset) |
|
HttpServerResponse |
HttpServerResponse.sendFile(String filename,
long offset,
long length) |
|
HttpServerResponse |
HttpServerResponse.sendFile(String filename,
long offset,
long length,
Handler<AsyncResult<Void>> resultHandler) |
|
HttpServerResponse |
HttpServerResponse.sendFile(String filename,
long offset,
Handler<AsyncResult<Void>> resultHandler) |
|
HttpServerResponse |
HttpServerResponse.sendFile(String filename,
Handler<AsyncResult<Void>> resultHandler) |
|
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
|
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(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) |
|