Download filter-utils JAR 0.2.8 with all dependencies
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.
Files of the artifact filter-utils version 0.2.8 from the group com.mattunderscore.
Artifact filter-utils
Group com.mattunderscore
Version 0.2.8
Last update 26. July 2014
Tags: httpservletresponse getter destory passes used must after references basic generichttpfilter when empty only config objects these successfuly genericfilter thrown support httpservletrequest extends class init code subclasses calls requires that cast then called dofilter this filter configurefilter servletexception dohttpfilter object ensures servletrequest during attempts setter initiation abstract filterconfig provides implemented interface cannot servlet process implementation boilerplate method servletresponse also
Organization not specified
URL http://www.mattunderscore.com/ws-utils/filter-utils/
License New BSD License
Dependencies amount 0
Dependencies No dependencies
There are maybe transitive dependencies!
Group com.mattunderscore
Version 0.2.8
Last update 26. July 2014
Tags: httpservletresponse getter destory passes used must after references basic generichttpfilter when empty only config objects these successfuly genericfilter thrown support httpservletrequest extends class init code subclasses calls requires that cast then called dofilter this filter configurefilter servletexception dohttpfilter object ensures servletrequest during attempts setter initiation abstract filterconfig provides implemented interface cannot servlet process implementation boilerplate method servletresponse also
Organization not specified
URL http://www.mattunderscore.com/ws-utils/filter-utils/
License New BSD License
Dependencies amount 0
Dependencies No dependencies
There are maybe transitive dependencies!
The newest version!
Show all versions of filter-utils Show documentation
Please rate this JAR file. Is it a good library?
0 downloads
Source code of filter-utils version 0.2.8
Please wait ...