james' blog about scala and all that jazz About Understanding the Play Filter API With Play 2.1 hot off the press, there have been a lot of people asking about the new Play filter API. In actual fact, the API is incredibly simple: trait EssentialFilter { def apply(next: EssentialAction): EssentialAction } Essentially, a filter is just a function that takes an action and returns another action. The
{{#tags}}- {{label}}
{{/tags}}