Class PathMatchingResult

  • All Implemented Interfaces:
    Serializable

    public final class PathMatchingResult
    extends Object
    implements Serializable
    This class represents the overall result of a path matching. Upon successful matching all variable path parts are returned as a map in the order of the path.
    Author:
    Philip Helger
    See Also:
    Serialized Form
    • Constructor Detail

      • PathMatchingResult

        public PathMatchingResult​(@Nonnull
                                  com.helger.commons.collection.impl.ICommonsOrderedMap<String,​String> aVariableValues)
        Constructor for "match"
        Parameters:
        aVariableValues - Non-null but may empty matching variables.
    • Method Detail

      • isMatch

        public boolean isMatch()
        Returns:
        true if the path matching was successful, false otherwise.
      • getAllVariableValues

        @Nonnull
        @ReturnsMutableCopy
        public com.helger.commons.collection.impl.ICommonsOrderedMap<String,​String> getAllVariableValues()