public final class BasicResponses extends Object
| Modifier and Type | Method and Description |
|---|---|
static Acceptable |
acceptable(Object object) |
static Html |
html(String template) |
static Html |
html(String template,
Map<String,Object> parameters) |
static Html |
htmlText(String text) |
static Json |
json(Object obj) |
static Json |
json(String json) |
static Redirect |
redirect(String to) |
static HttpStatus |
status(int statusCode) |
static HttpStatus |
status(String status) |
static Text |
text(String text) |
static Xml |
xml(Object obj) |
static Xml |
xml(String xml) |
public static Acceptable acceptable(Object object)
public static HttpStatus status(int statusCode)
public static HttpStatus status(String status)
Copyright © 2011-2017 Analog Web Framework Development Team. All Rights Reserved.