Class ResourceRequestFilter

java.lang.Object
org.exoplatform.container.web.AbstractFilter
org.exoplatform.portal.application.ResourceRequestFilter
All Implemented Interfaces:
jakarta.servlet.Filter

public class ResourceRequestFilter extends org.exoplatform.container.web.AbstractFilter
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final long
     
    static final String
     
    static final String
     
    static final String
     
    static long
    can't be final, the RootContainer sometimes is built after init
    static String
    can't be final, the RootContainer sometimes is built after init

    Fields inherited from class org.exoplatform.container.web.AbstractFilter

    config, servletContextName
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    afterInit(jakarta.servlet.FilterConfig config)
     
    void
    doFilter(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response, jakarta.servlet.FilterChain chain)
     
    org.exoplatform.services.resources.ResourceBundleService
     

    Methods inherited from class org.exoplatform.container.web.AbstractFilter

    getContainer, getServletContext, init, requirePortalEnvironment

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface jakarta.servlet.Filter

    destroy
  • Field Details

    • IF_MODIFIED_SINCE

      public static final String IF_MODIFIED_SINCE
      See Also:
    • LAST_MODIFIED

      public static final String LAST_MODIFIED
      See Also:
    • EXPIRES

      public static final String EXPIRES
      See Also:
    • DEFAULT_MAX_AGE

      public static final long DEFAULT_MAX_AGE
      See Also:
    • maxAge

      public static long maxAge
      can't be final, the RootContainer sometimes is built after init
    • version

      public static String version
      can't be final, the RootContainer sometimes is built after init
  • Constructor Details

    • ResourceRequestFilter

      public ResourceRequestFilter()
  • Method Details

    • afterInit

      protected void afterInit(jakarta.servlet.FilterConfig config) throws jakarta.servlet.ServletException
      Overrides:
      afterInit in class org.exoplatform.container.web.AbstractFilter
      Throws:
      jakarta.servlet.ServletException
    • doFilter

      public void doFilter(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response, jakarta.servlet.FilterChain chain) throws IOException, jakarta.servlet.ServletException
      Throws:
      IOException
      jakarta.servlet.ServletException
    • getResourceBundleService

      public org.exoplatform.services.resources.ResourceBundleService getResourceBundleService()