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