@groovy.util.logging.Slf4j class HttpServerResponseImpl extends java.lang.Object implements HttpServerResponse
Constructor and description |
---|
HttpServerResponseImpl(com.fasterxml.jackson.databind.ObjectMapper objectMapper, TemplateEngine templateEngine) |
Type Params | Return Type | Name and description |
---|---|---|
|
HttpServerResponse |
badRequest() |
|
HttpServerResponse |
created() |
|
HttpServerResponse |
error() |
|
HttpServerResponse |
notFound() |
|
HttpServerResponse |
ok() |
|
void |
redirect(java.lang.String url) |
|
HttpServerResponse |
removeCookie(java.lang.String name) |
|
void |
render(java.lang.String templateName) |
|
void |
render(java.lang.String templateName, java.util.Map<java.lang.String, java.lang.Object> data) |
|
void |
reroute(java.lang.String path) |
|
void |
send(java.lang.String content, java.lang.String contentType) |
|
void |
send(java.lang.String content) |
|
void |
send() |
|
void |
sendFile(java.lang.String fileName) |
|
void |
sendFile(java.lang.String fileName, java.lang.String contentType) |
|
void |
sendJson(java.lang.Object obj) |
|
HttpServerResponse |
setContentType(java.lang.String contentType) |
|
HttpServerResponse |
setCookie(java.lang.String name, java.lang.String value) |
|
HttpServerResponse |
setCookie(Cookie cookie) |
|
HttpServerResponse |
setHeader(java.lang.String name, java.lang.String value) |
|
HttpServerResponse |
setStatusCode(int statusCode) |
|
HttpServerResponse |
setStatusMessage(java.lang.String statusMessage) |
|
HttpServerResponse |
todo() |
|
HttpServerResponse |
unauthorized() |
|
io.vertx.core.http.HttpServerResponse |
unwrap() |
|
HttpServerResponseImpl |
withRouteContext(io.vertx.ext.web.RoutingContext routingContext) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |