Class ResourceUrlEncodingFilter

java.lang.Object
org.springframework.web.filter.GenericFilterBean
org.springframework.web.servlet.resource.ResourceUrlEncodingFilter
All Implemented Interfaces:
Filter, Aware, BeanNameAware, DisposableBean, InitializingBean, EnvironmentAware, EnvironmentCapable, ServletContextAware

public class ResourceUrlEncodingFilter extends GenericFilterBean
A filter that wraps the HttpServletResponse and overrides its encodeURL method in order to translate internal resource request URLs into public URL paths for external use.
Since:
4.1
Author:
Jeremy Grelle, Rossen Stoyanchev, Sam Brannen, Brian Clozel