public class DummyHttpServerResponse extends Object implements FastFailHttpServerResponse
HttpServerResponse. Override this class for your needs.msg| Constructor and Description |
|---|
DummyHttpServerResponse() |
| Modifier and Type | Method and Description |
|---|---|
void |
end() |
void |
end(io.vertx.core.buffer.Buffer chunk) |
void |
end(String chunk) |
boolean |
ended() |
String |
getResultBuffer() |
int |
getStatusCode() |
String |
getStatusMessage() |
io.vertx.core.MultiMap |
headers() |
io.vertx.core.http.HttpServerResponse |
putHeader(CharSequence name,
CharSequence value) |
io.vertx.core.http.HttpServerResponse |
putHeader(String name,
String value) |
io.vertx.core.http.HttpServerResponse |
setStatusCode(int statusCode) |
io.vertx.core.http.HttpServerResponse |
setStatusMessage(String statusMessage) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbodyEndHandler, bytesWritten, close, closed, closeHandler, drainHandler, end, endHandler, exceptionHandler, headersEndHandler, headWritten, isChunked, push, push, push, push, putHeader, putHeader, putTrailer, putTrailer, putTrailer, putTrailer, reset, sendFile, sendFile, setChunked, setWriteQueueMaxSize, streamId, trailers, write, write, write, writeContinue, writeCustomFrame, writeQueueFullpublic String getResultBuffer()
public int getStatusCode()
getStatusCode in interface io.vertx.core.http.HttpServerResponsegetStatusCode in interface FastFailHttpServerResponsepublic io.vertx.core.http.HttpServerResponse setStatusCode(int statusCode)
setStatusCode in interface io.vertx.core.http.HttpServerResponsesetStatusCode in interface FastFailHttpServerResponsepublic String getStatusMessage()
getStatusMessage in interface io.vertx.core.http.HttpServerResponsegetStatusMessage in interface FastFailHttpServerResponsepublic io.vertx.core.http.HttpServerResponse setStatusMessage(String statusMessage)
setStatusMessage in interface io.vertx.core.http.HttpServerResponsesetStatusMessage in interface FastFailHttpServerResponsepublic io.vertx.core.MultiMap headers()
headers in interface io.vertx.core.http.HttpServerResponseheaders in interface FastFailHttpServerResponsepublic io.vertx.core.http.HttpServerResponse putHeader(String name, String value)
putHeader in interface io.vertx.core.http.HttpServerResponseputHeader in interface FastFailHttpServerResponsepublic io.vertx.core.http.HttpServerResponse putHeader(CharSequence name, CharSequence value)
putHeader in interface io.vertx.core.http.HttpServerResponseputHeader in interface FastFailHttpServerResponsepublic void end(String chunk)
end in interface io.vertx.core.http.HttpServerResponseend in interface FastFailHttpServerResponsepublic void end(io.vertx.core.buffer.Buffer chunk)
end in interface io.vertx.core.http.HttpServerResponseend in interface io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>end in interface FastFailHttpServerResponsepublic void end()
end in interface io.vertx.core.http.HttpServerResponseend in interface io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>end in interface FastFailHttpServerResponsepublic boolean ended()
ended in interface io.vertx.core.http.HttpServerResponseended in interface FastFailHttpServerResponseCopyright © 2016–2021. All rights reserved.