Class FilterMapping

  • All Implemented Interfaces:
    org.eclipse.jetty.util.component.Dumpable

    @ManagedObject("Filter Mappings")
    public class FilterMapping
    extends Object
    implements org.eclipse.jetty.util.component.Dumpable
    • Constructor Detail

      • FilterMapping

        public FilterMapping()
    • Method Detail

      • dispatch

        public static DispatcherType dispatch​(String type)
        Dispatch type from name
        Parameters:
        type - the type name
        Returns:
        the dispatcher type
      • isDefaultDispatches

        public boolean isDefaultDispatches()
      • getFilterName

        @ManagedAttribute(value="filter name",
                          readonly=true)
        public String getFilterName()
        Returns:
        Returns the filterName.
      • getPathSpecs

        @ManagedAttribute(value="url patterns",
                          readonly=true)
        public String[] getPathSpecs()
        Returns:
        Returns the pathSpec.
      • setFilterName

        public void setFilterName​(String filterName)
        Parameters:
        filterName - The filterName to set.
      • setPathSpecs

        public void setPathSpecs​(String[] pathSpecs)
        Parameters:
        pathSpecs - The Path specifications to which this filter should be mapped.
      • setPathSpec

        public void setPathSpec​(String pathSpec)
        Parameters:
        pathSpec - The pathSpec to set.
      • getServletNames

        @ManagedAttribute(value="servlet names",
                          readonly=true)
        public String[] getServletNames()
        Returns:
        Returns the servletName.
      • dump

        public String dump()
        Specified by:
        dump in interface org.eclipse.jetty.util.component.Dumpable