Package cloud.piranha

Class DefaultFilterMapping

  • java.lang.Object
    • cloud.piranha.DefaultFilterMapping
  • All Implemented Interfaces:
    cloud.piranha.api.FilterMapping


    public class DefaultFilterMapping
    extends java.lang.Object
    implements cloud.piranha.api.FilterMapping
    The default FilterMapping.
    Author:
    Manfred Riem (mriem@manorrock.com)
    • Constructor Summary

      Constructors 
      Constructor Description
      DefaultFilterMapping​(java.lang.String filterName, java.lang.String urlPattern)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object object)
      Equals.
      java.lang.String getFilterName​()
      Get the filter name.
      java.lang.String getUrlPattern​()
      Get the URL pattern.
      int hashCode​()
      Hash code.
      • Methods inherited from class java.lang.Object

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

      • DefaultFilterMapping

        public DefaultFilterMapping​(java.lang.String filterName,
                                    java.lang.String urlPattern)
        Constructor.
        Parameters:
        filterName - the filter name.
        urlPattern - the URL pattern.
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object object)
        Equals.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        object - the object to compare against.
        Returns:
        true if equal, false otherwise.
      • getFilterName

        public java.lang.String getFilterName​()
        Get the filter name.
        Specified by:
        getFilterName in interface cloud.piranha.api.FilterMapping
        Returns:
        the filter name.
      • getUrlPattern

        public java.lang.String getUrlPattern​()
        Get the URL pattern.
        Specified by:
        getUrlPattern in interface cloud.piranha.api.FilterMapping
        Returns:
        the URL pattern.
      • hashCode

        public int hashCode​()
        Hash code.
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        the hash code.

Copyright © 2020 Piranha Cloud. All rights reserved.