Class PathPattern

java.lang.Object
org.glassfish.tyrus.core.uri.internal.PatternWithGroups
org.glassfish.tyrus.core.uri.internal.PathPattern

public final class PathPattern extends PatternWithGroups
A path pattern that is a regular expression generated from a URI path template.

The path pattern is normalized by removing a terminating "/" if present.

The path pattern is post-fixed with a right hand pattern that consists of either a matching group that matches zero or more path segments, see PathPattern.RightHandPath.capturingZeroOrMoreSegments, or zero path segments, see PathPattern.RightHandPath.capturingZeroSegments.

Author:
Paul Sandoz