Class FilterMapping

    • Constructor Detail

      • FilterMapping

        public FilterMapping()
    • Method Detail

      • dispatch

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

        public boolean isDefaultDispatches()
      • setDispatcherTypes

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

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

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

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

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

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

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

        public void dump​(java.lang.Appendable out,
                         java.lang.String indent)
                  throws java.io.IOException
        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()
        Specified by:
        dump in interface Dumpable