public interface Response
Modifier and Type | Method and Description |
---|---|
Response |
binary(Object content) |
int |
code() |
Response |
code(int code) |
Object |
content() |
Response |
content(Object content) |
org.rapidoid.commons.MediaType |
contentType() |
Response |
contentType(org.rapidoid.commons.MediaType contentType) |
Map<String,String> |
cookies() |
Req |
done() |
Map<String,String> |
headers() |
Response |
html(Object content) |
Response |
json(Object content) |
Response |
plain(Object content) |
String |
redirect() |
Response |
redirect(String redirect) |
Copyright © 2014–2015 Nikolche Mihajlovski and contributors. All rights reserved.