Responder.ConnectionHeader| Constructor and Description |
|---|
VertxResponder(io.vertx.core.http.HttpServerRequest req,
io.vertx.core.http.HttpServerResponse resp) |
VertxResponder(io.vertx.core.http.HttpServerRequest req,
io.vertx.core.http.HttpServerResponse resp,
io.vertx.core.Vertx vertx) |
| Modifier and Type | Method and Description |
|---|---|
WbxmlOutput |
asOutput() |
WbxmlOutput |
asOutput(Responder.ConnectionHeader connection) |
io.vertx.core.http.HttpServerResponse |
response() |
void |
sendResponse(NamespaceMapping ns,
org.w3c.dom.Document doc) |
void |
sendResponse(NamespaceMapping ns,
org.w3c.dom.Document doc,
Responder.ConnectionHeader con) |
void |
sendResponseFile(java.lang.String contentType,
java.io.InputStream file) |
void |
sendStatus(int statusCode) |
io.vertx.core.Vertx |
vertx() |
public VertxResponder(io.vertx.core.http.HttpServerRequest req,
io.vertx.core.http.HttpServerResponse resp)
public VertxResponder(io.vertx.core.http.HttpServerRequest req,
io.vertx.core.http.HttpServerResponse resp,
io.vertx.core.Vertx vertx)
public io.vertx.core.http.HttpServerResponse response()
public void sendResponse(NamespaceMapping ns, org.w3c.dom.Document doc, Responder.ConnectionHeader con)
sendResponse in interface Responderpublic void sendResponse(NamespaceMapping ns, org.w3c.dom.Document doc)
sendResponse in interface Responderpublic void sendResponseFile(java.lang.String contentType,
java.io.InputStream file)
throws java.io.IOException
sendResponseFile in interface Responderjava.io.IOExceptionpublic void sendStatus(int statusCode)
sendStatus in interface Responderpublic WbxmlOutput asOutput(Responder.ConnectionHeader connection)
public WbxmlOutput asOutput()
Copyright © 2022. All Rights Reserved.