Class FilterUrlMappingsProviderImpl

  • All Implemented Interfaces:
    FilterUrlMappingsProvider

    public class FilterUrlMappingsProviderImpl
    extends java.lang.Object
    implements FilterUrlMappingsProvider
    Provide all configured context paths (url mappings) of the application deployed using filter.

    The url patterns are returned without the eventual trailing asterisk.

    The functionality is available in Servlet 3.x environment only, so this implementation of FilterUrlMappingsProvider interface is Servlet 3 specific.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.String> getFilterUrlMappings​(javax.servlet.FilterConfig filterConfig)
      Return configured context path from the filter configuration.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FilterUrlMappingsProviderImpl

        public FilterUrlMappingsProviderImpl()
    • Method Detail

      • getFilterUrlMappings

        public java.util.List<java.lang.String> getFilterUrlMappings​(javax.servlet.FilterConfig filterConfig)
        Description copied from interface: FilterUrlMappingsProvider
        Return configured context path from the filter configuration.
        Specified by:
        getFilterUrlMappings in interface FilterUrlMappingsProvider
        Parameters:
        filterConfig - the FilterConfig object