public final class Responses
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static HttpResponse |
badRequest() |
static HttpResponse |
badRequest(Bytes body) |
static HttpResponse |
created(Bytes body) |
static HttpResponse |
error() |
static HttpResponse |
error(Bytes body) |
static HttpResponse |
forbidden() |
static HttpResponse |
noContent() |
static HttpResponse |
notFound() |
static HttpResponse |
notFound(Bytes body) |
static HttpResponse |
ok() |
static HttpResponse |
ok(Bytes body) |
public static HttpResponse ok()
public static HttpResponse ok(Bytes body)
public static HttpResponse created(Bytes body)
public static HttpResponse noContent()
public static HttpResponse forbidden()
public static HttpResponse badRequest()
public static HttpResponse badRequest(Bytes body)
public static HttpResponse notFound()
public static HttpResponse notFound(Bytes body)
public static HttpResponse error()
public static HttpResponse error(Bytes body)