Package play.http
Class DefaultHttpFilters
- Object
-
- play.http.DefaultHttpFilters
-
- All Implemented Interfaces:
HttpFilters
public class DefaultHttpFilters extends Object implements HttpFilters
Helper class which has a varargs constructor taking the filters. Reduces boilerplate for defining HttpFilters.
-
-
Constructor Summary
Constructors Constructor Description DefaultHttpFilters(List<? extends play.api.mvc.EssentialFilter> filters)
DefaultHttpFilters(play.api.mvc.EssentialFilter... filters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<EssentialFilter>
getFilters()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface play.http.HttpFilters
asScala
-
-
-
-
Constructor Detail
-
DefaultHttpFilters
public DefaultHttpFilters(play.api.mvc.EssentialFilter... filters)
-
DefaultHttpFilters
public DefaultHttpFilters(List<? extends play.api.mvc.EssentialFilter> filters)
-
-
Method Detail
-
getFilters
public List<EssentialFilter> getFilters()
- Specified by:
getFilters
in interfaceHttpFilters
- Returns:
- the list of filters that should filter every request.
-
-