0
votes

Can someone summarize with a very short code snippet (or link to docs) the ways you can control/modify the request/response cycle in play. (scala version if that matters)

So far I know of:

  1. Create a base controller that your other controllers will extend/inherit Use @Before and @After Will this work in the latest 2.2.2 version?

  2. Action compositions http://www.playframework.com/documentation/2.0/ScalaActionsComposition

What else is there?

1

1 Answers

1
votes

The method with a base controller looks more like a dirty hack to me. Especially when using Play with Scala (in Java everything looks like a dirty hack :) )