Filter

javax.servlet.Filter http://docs.oracle.com/javaee/7/api/javax/servlet/Filter.html

javax.servlet.annotation.WebFilter http://docs.oracle.com/javaee/7/api/javax/servlet/annotation/WebFilter.html