public final class PathMatchers
extends java.lang.Object
| Constructor and Description | 
|---|
| PathMatchers() | 
| Modifier and Type | Method and Description | 
|---|---|
| static PathMatcher1<java.lang.Double> | doubleSegment()A PathMatcher that matches and extracts a Double value. | 
| static PathMatcher1<java.lang.Integer> | hexIntegerSegment()A PathMatcher that efficiently matches a number of hex-digits and extracts their (non-negative) Int value. | 
| static PathMatcher1<java.lang.Long> | hexLongSegment()A PathMatcher that efficiently matches a number of hex-digits and extracts their (non-negative) Long value. | 
| static PathMatcher1<java.lang.Integer> | integerSegment()A PathMatcher that efficiently matches a number of digits and extracts their (non-negative) Int value. | 
| static PathMatcher1<java.lang.Long> | longSegment()A PathMatcher that efficiently matches a number of digits and extracts their (non-negative) Long value. | 
| static PathMatcher0 | neutral()A PathMatcher that always matches, doesn't consume anything and extracts nothing. | 
| static PathMatcher0 | pathEnd()A PathMatcher that matches the very end of the requests URI path. | 
| static PathMatcher1<java.lang.String> | remaining()A PathMatcher that matches and extracts the complete remaining,
 unmatched part of the request's URI path as an (encoded!) | 
| static PathMatcher1<Uri.Path> | remainingPath()A PathMatcher that matches and extracts the complete remaining,
 unmatched part of the request's URI path. | 
| static PathMatcher1<java.lang.String> | segment()A PathMatcher that matches if the unmatched path starts with a path segment. | 
| static PathMatcher1<java.lang.String> | segment(java.util.regex.Pattern regex)Creates a PathMatcher that consumes (a prefix of) the first path segment
 if the path begins with a segment (a prefix of) which matches the given regex. | 
| static PathMatcher0 | segment(java.lang.String segment)Creates a PathMatcher that consumes (a prefix of) the first path segment
 (if the path begins with a segment). | 
| static PathMatcher1<java.util.List<java.lang.String>> | segments()A PathMatcher that matches up to 128 remaining segments as a List[String]. | 
| static PathMatcher1<java.util.List<java.lang.String>> | segments(int count)A PathMatcher that matches the given number of path segments (separated by slashes) as a List[String]. | 
| static PathMatcher1<java.util.List<java.lang.String>> | segments(int min,
        int max)A PathMatcher that matches between  minandmax(both inclusively) path segments (separated by slashes)
 as a List[String]. | 
| static PathMatcher0 | separateOnSlashes(java.lang.String segments)Converts a path string containing slashes into a PathMatcher that interprets slashes as
 path segment separators. | 
| static PathMatcher0 | slash()A PathMatcher that matches a single slash character ('/'). | 
| static PathMatcher1<java.util.UUID> | uuidSegment()A PathMatcher that matches and extracts a java.util.UUID instance. | 
public static PathMatcher0 separateOnSlashes(java.lang.String segments)
segments - (undocumented)public static PathMatcher0 slash()
public static PathMatcher0 segment(java.lang.String segment)
segment - (undocumented)public static PathMatcher1<java.lang.String> segment(java.util.regex.Pattern regex)
regex - (undocumented)public static PathMatcher1<java.util.List<java.lang.String>> segments(int min, int max)
min and max (both inclusively) path segments (separated by slashes)
 as a List[String]. If there are more than count segments present the remaining ones will be left unmatched.
 If the path has a trailing slash this slash will *not* be matched.min - (undocumented)max - (undocumented)public static PathMatcher1<java.util.List<java.lang.String>> segments(int count)
count segments present the remaining ones will be left unmatched.
 If the path has a trailing slash this slash will *not* be matched.count - (undocumented)public static PathMatcher1<java.lang.Integer> integerSegment()
public static PathMatcher1<java.lang.Long> longSegment()
public static PathMatcher1<java.lang.Integer> hexIntegerSegment()
public static PathMatcher1<java.lang.Long> hexLongSegment()
public static PathMatcher1<java.lang.Double> doubleSegment()
public static PathMatcher1<java.util.UUID> uuidSegment()
public static PathMatcher0 neutral()
public static PathMatcher0 pathEnd()
public static PathMatcher1<java.lang.String> remaining()
public static PathMatcher1<Uri.Path> remainingPath()
public static PathMatcher1<java.lang.String> segment()
public static PathMatcher1<java.util.List<java.lang.String>> segments()