public class DummyHttpServerResponse extends FastFailHttpServerResponse
HttpServerResponse. Override this class for your needs.| 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) |
bodyEndHandler, 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 class FastFailHttpServerResponsepublic io.vertx.core.http.HttpServerResponse setStatusCode(int statusCode)
setStatusCode in interface io.vertx.core.http.HttpServerResponsesetStatusCode in class FastFailHttpServerResponsepublic String getStatusMessage()
getStatusMessage in interface io.vertx.core.http.HttpServerResponsegetStatusMessage in class FastFailHttpServerResponsepublic io.vertx.core.http.HttpServerResponse setStatusMessage(String statusMessage)
setStatusMessage in interface io.vertx.core.http.HttpServerResponsesetStatusMessage in class FastFailHttpServerResponsepublic io.vertx.core.MultiMap headers()
headers in interface io.vertx.core.http.HttpServerResponseheaders in class FastFailHttpServerResponsepublic io.vertx.core.http.HttpServerResponse putHeader(String name, String value)
putHeader in interface io.vertx.core.http.HttpServerResponseputHeader in class FastFailHttpServerResponsepublic io.vertx.core.http.HttpServerResponse putHeader(CharSequence name, CharSequence value)
putHeader in interface io.vertx.core.http.HttpServerResponseputHeader in class FastFailHttpServerResponsepublic void end(String chunk)
end in interface io.vertx.core.http.HttpServerResponseend in class 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 class 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 class FastFailHttpServerResponsepublic boolean ended()
ended in interface io.vertx.core.http.HttpServerResponseended in class FastFailHttpServerResponseCopyright © 2016–2018. All rights reserved.