public class HttpResponseHelper extends Object
Constructor and Description |
---|
HttpResponseHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
forbidden(org.vertx.java.core.http.HttpServerRequest req,
String page) |
static void |
ok(org.vertx.java.core.http.HttpServerRequest req,
String content) |
static void |
redirect(org.vertx.java.core.http.HttpServerRequest req) |
static void |
redirect(org.vertx.java.core.http.HttpServerRequest req,
String location) |
static void |
unauthorized(org.vertx.java.core.http.HttpServerRequest req,
String page) |
public static void ok(org.vertx.java.core.http.HttpServerRequest req, String content)
public static void redirect(org.vertx.java.core.http.HttpServerRequest req, String location)
public static void redirect(org.vertx.java.core.http.HttpServerRequest req)
public static void unauthorized(org.vertx.java.core.http.HttpServerRequest req, String page)
public static void forbidden(org.vertx.java.core.http.HttpServerRequest req, String page)
Copyright © 2015. All rights reserved.