All Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
String |
body() |
Response |
body(String body) |
String |
contentType() |
Response |
contentType(String contentType) |
Response |
cookie(CookieBuilder cookieBuilder) |
Response |
cookie(String name,
String value) |
Response |
cookie(String name,
String value,
int maxAge) |
String |
encoding() |
Response |
encoding(String charset) |
void |
header(String headerName) |
Response |
header(String headerName,
String headerValue) |
Response |
html(String html) |
Response |
json(Object object) |
Response |
redirect(String location) |
Response |
redirect(String location,
int httpStatusCode) |
Response |
removeCookie(String name) |
Response |
removeCookie(String path,
String name) |
Response |
renderFreemarker(String templatePath,
Map<String,Object> model) |
Response |
renderMustache(String templatePath,
Map<String,Object> model) |
Response |
renderThymeleaf(String templatePath,
Map<String,Object> model) |
Response |
renderVelocity(String templatePath,
Map<String,Object> model) |
int |
status() |
Response |
status(int statusCode) |
javax.servlet.http.HttpServletResponse |
unwrap() |