Class AbstractCacheFilter

  • All Implemented Interfaces:
    javax.servlet.Filter
    Direct Known Subclasses:
    ClientCachingFilter, ServerCachingFilter

    public abstract class AbstractCacheFilter
    extends java.lang.Object
    implements javax.servlet.Filter
    Implements a abstract filter class for reading expire mode and value.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected Expires getDefinedExpires()  
      protected java.lang.String getExpiresValue()  
      void init​(javax.servlet.FilterConfig filterConfig)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface javax.servlet.Filter

        destroy, doFilter
    • Constructor Detail

      • AbstractCacheFilter

        public AbstractCacheFilter()
        Constructor
    • Method Detail

      • init

        public void init​(javax.servlet.FilterConfig filterConfig)
                  throws javax.servlet.ServletException
        Specified by:
        init in interface javax.servlet.Filter
        Throws:
        javax.servlet.ServletException
        See Also:
        Filter.init(javax.servlet.FilterConfig)
      • getDefinedExpires

        protected Expires getDefinedExpires()
        Returns:
        the definedExpires
      • getExpiresValue

        protected java.lang.String getExpiresValue()
        Returns:
        the expiresValue