Created
April 9, 2015 22:50
-
-
Save ivanmartinvalle/a9d97b684ade21cc801a to your computer and use it in GitHub Desktop.
Play Framework Java Filter Registration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import play.GlobalSettings; | |
import play.api.mvc.EssentialFilter; | |
public class Global extends GlobalSettings { | |
@Override | |
public <T extends EssentialFilter> Class<T>[] filters() { | |
return new Class[] {HelloFilter.class}; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment