public interface UriMatcher
A URI matcher is capable of matching a URI and producing a UriMatchInfo
.
Modifier and Type | Method and Description |
---|---|
Optional<? extends UriMatchInfo> |
match(String uri)
Match the given URI string.
|
default Optional<? extends UriMatchInfo> |
match(URI uri)
Match the given
URI object. |
default Optional<? extends UriMatchInfo> match(URI uri)
URI
object.uri
- The URIOptional<? extends UriMatchInfo> match(String uri)
uri
- The uRI