> --
> You received this message because you are subscribed to the Google Groups "play-framework" group.
> To post to this group, send email to play-fr...@googlegroups.com.
> To unsubscribe from this group, send email to play-framewor...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/play-framework?hl=en.
>
return new Status(218); // Empty body
or
return new Status(218, "content", utf8);
I don’t understand why this API does not appear in the JavaDoc.
Anyway, this API is not consistent with the other ways to return
results. Maybe something like the following would be more appropriate?
return status(218);
return status(218, "content");
return status(218, "content", aCustomCharset);