Example #1
0
File: A.java Project: kmenzli/juzu
 @Resource
 public Response.Content.Resource resource() throws AuthenticationException {
   return Response.ok("application/octet-stream", new ByteArrayInputStream("hello".getBytes()));
 }
Example #2
0
File: A.java Project: edpzjh/juzu
 @View
 public Response.Mime index() throws IOException {
   return Response.ok(A_.actionURL().toString());
 }