Class FilterMapping

  • All Implemented Interfaces:
    Dumpable

    @ManagedObject("Filter Mappings")
    @Deprecated(since="2021-05-27")
    public class FilterMapping
    extends java.lang.Object
    implements Dumpable
    Deprecated.
    • Constructor Detail

      • FilterMapping

        public FilterMapping()
        Deprecated.
    • Method Detail

      • dispatch

        public static DispatcherType dispatch​(java.lang.String type)
        Deprecated.
        Dispatch type from name
        Parameters:
        type - the type name
        Returns:
        the dispatcher type
      • appliesTo

        public boolean appliesTo​(DispatcherType t)
        Deprecated.
      • isDefaultDispatches

        public boolean isDefaultDispatches()
        Deprecated.
      • getFilterName

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

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

        public void setDispatcherTypes​(java.util.EnumSet<DispatcherType> dispatcherTypes)
        Deprecated.
      • getDispatcherTypes

        public java.util.EnumSet<DispatcherType> getDispatcherTypes()
        Deprecated.
      • setDispatches

        public void setDispatches​(int dispatches)
        Deprecated.
        Parameters:
        dispatches - The dispatches to set.
        See Also:
        DEFAULT, REQUEST, ERROR, FORWARD, INCLUDE
      • setFilterName

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

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

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

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

        public java.lang.String toString()
        Deprecated.
        Overrides:
        toString in class java.lang.Object
      • dump

        public void dump​(java.lang.Appendable out,
                         java.lang.String indent)
                  throws java.io.IOException
        Deprecated.
        Description copied from interface: Dumpable
        Dump this object (and children) into an Appendable using the provided indent after any new lines. The indent should not be applied to the first object dumped.
        Specified by:
        dump in interface Dumpable
        Parameters:
        out - The appendable to dump to
        indent - The indent to apply after any new lines.
        Throws:
        java.io.IOException - if unable to write to Appendable
      • dump

        public java.lang.String dump()
        Deprecated.
        Specified by:
        dump in interface Dumpable