Class PathGroupExtractor.PathGroups

java.lang.Object
org.mockserver.matchers.PathGroupExtractor.PathGroups
Enclosing class:
PathGroupExtractor

public static final class PathGroupExtractor.PathGroups extends Object
Holds the numbered and named capture groups extracted from a path match.
  • Method Details

    • hasGroups

      public boolean hasGroups()
      Returns:
      true when the pattern produced at least one capturing group (numbered or named)
    • getNumberedGroups

      public List<String> getNumberedGroups()
    • getNamedGroups

      public Map<String,String> getNamedGroups()