What I’m trying to do is disable all of Play’s default filters and add my own, and I see 2 ways of configuring this.
- Disable all of Play’s internal filters with
play.filters.enabled = , and then add my own
play.http.filters = "com.example.MyFilters"and include
com.example.MyFilters. This is what this page recommends.
play.filters.enabled = ["com.example.MyFilter"]without using
play.http.HttpFilters. This is what this page recommends.
They both work. What I’m asking is which is the “definitive” recommended way of doing this.