jar

com.mattunderscore : filter-utils

Maven & Gradle

Jul 26, 2014
2 usages

Filter Utilities · Provides basic support of servlet filter. Boilerplate code etc. It provides a boilerplate implementation of the Filter interface. The GenericFilter provides a getter and setter for the FilterConfig object and ensures that this is set when init is called. The init method also calls the configureFilter method after the FilterConfig object is set and can be used by subclasses to process the filter config during initiation. It also provides an empty implementation of the destory method. The only method that requires implementation is the doFilter method. The GenericHTTPFilter extends the GenericFilter class, it provides a doFilter method that attempts to cast the ServletRequest and ServletResponse objects to HttpServletRequest and HttpServletResponse objects. If these objects can be cast successfuly then it calls the doHTTPFilter method and passes the cast objects references. If the objects cannot be cast a ServletException is thrown. The doHTTPFilter method is abstract and must be implemented by subclasses.

Table Of Contents

Latest Version

Download com.mattunderscore : filter-utils JAR file - Latest Versions:

All Versions

Download com.mattunderscore : filter-utils JAR file - All Versions:

Version Vulnerabilities Size Updated
0.2.x
0.1.x

View Java Class Source Code in JAR file

  1. Download JD-GUI to open JAR file and explore Java source code file (.class .java)
  2. Click menu "File → Open File..." or just drag-and-drop the JAR file in the JD-GUI window filter-utils-0.2.8.jar file.
    Once you open a JAR file, all the java classes in the JAR file will be displayed.

com.mattunderscore.filter

├─ com.mattunderscore.filter.GenericFilter.class - [JAR]

├─ com.mattunderscore.filter.GenericHTTPFilter.class - [JAR]