Class PathTemplate

java.lang.Object
com.github.tomakehurst.wiremock.common.url.PathTemplate

public class PathTemplate extends Object
  • Constructor Details

    • PathTemplate

      public PathTemplate(String templateString)
  • Method Details

    • couldBePathTemplate

      public static boolean couldBePathTemplate(String value)
    • matches

      public boolean matches(String url)
    • matches

      public boolean matches(org.wiremock.url.Path path)
    • parse

      public PathParams parse(String url)
    • parse

      public PathParams parse(org.wiremock.url.Path url)
    • render

      public String render(PathParams pathParams)
    • withoutVariables

      public String withoutVariables()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • numberOfParameters

      public int numberOfParameters()