Skip to content

Instantly share code, notes, and snippets.

@ivanmartinvalle
Created April 9, 2015 22:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ivanmartinvalle/a9d97b684ade21cc801a to your computer and use it in GitHub Desktop.
Save ivanmartinvalle/a9d97b684ade21cc801a to your computer and use it in GitHub Desktop.
Play Framework Java Filter Registration
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