concept list method in category java
appears as: list method

This is an excerpt from Manning's book Play for Java.
We’ll start with the implementation for the list method. As we said before, an action method always returns a result. What that means is that it should return an object with a type that is a subclass of play.mvc.Result. Objects of that type can tell Play all that it needs to construct an HTTP response.