Class PathTemplate
- java.lang.Object
-
- com.github.tomakehurst.wiremock.common.url.PathTemplate
-
public class PathTemplate extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PathTemplate(java.lang.String templateString)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static boolean
couldBePathTemplate(java.lang.String value)
boolean
equals(java.lang.Object o)
int
hashCode()
boolean
matches(java.lang.String url)
PathParams
parse(java.lang.String url)
java.lang.String
render(PathParams pathParams)
java.lang.String
toString()
java.lang.String
withoutVariables()
-
-
-
Method Detail
-
couldBePathTemplate
public static boolean couldBePathTemplate(java.lang.String value)
-
matches
public boolean matches(java.lang.String url)
-
parse
public PathParams parse(java.lang.String url)
-
render
public java.lang.String render(PathParams pathParams)
-
withoutVariables
public java.lang.String withoutVariables()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-