Class ResourceFilter
java.lang.Object
org.exoplatform.container.web.AbstractFilter
org.exoplatform.webconferencing.server.filter.ResourceFilter
- All Implemented Interfaces:
jakarta.servlet.Filter,org.exoplatform.web.filter.Filter
public class ResourceFilter
extends org.exoplatform.container.web.AbstractFilter
implements org.exoplatform.web.filter.Filter
Filter updates request to resources with proper HTTP headers (for caching etc.).
Created by The eXo Platform SAS
Created by The eXo Platform SAS
- Version:
- $Id: ResourceFilter.java 00000 Mar 14, 2017 pnedonosko $
- Author:
- Peter Nedonosko
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final StringThe Constant CACHE_CONTROL.protected static final org.exoplatform.services.log.LogThe Constant LOG.protected static final StringThe Constant METHOD_GET.Fields inherited from class org.exoplatform.container.web.AbstractFilter
config, servletContextName -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.exoplatform.container.web.AbstractFilter
afterInit, getContainer, getServletContext, init, requirePortalEnvironment
-
Field Details
-
LOG
protected static final org.exoplatform.services.log.Log LOGThe Constant LOG. -
METHOD_GET
The Constant METHOD_GET.- See Also:
-
CACHE_CONTROL
The Constant CACHE_CONTROL.- See Also:
-
-
Constructor Details
-
ResourceFilter
public ResourceFilter()
-
-
Method Details
-
doFilter
public void doFilter(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response, jakarta.servlet.FilterChain chain) throws IOException, jakarta.servlet.ServletException - Specified by:
doFilterin interfacejakarta.servlet.Filter- Specified by:
doFilterin interfaceorg.exoplatform.web.filter.Filter- Throws:
IOExceptionjakarta.servlet.ServletException
-
destroy
public void destroy()- Specified by:
destroyin interfacejakarta.servlet.Filter
-
version
Version.- Returns:
- the string
-