To set headers on a Response you can simply call the headers
method and pass a HashMap of headers.
HashMap<String, String> headers = new HashMap<String, String>();
headers.put("X-HEADER-ONE", "Header");
response.headers(headers);
To send a redirect you can call the redirect
method.
response.redirect("/home");
You are able to return a Mustache
template view from the Response class as well.
response.render("index.mustache", null);