- java.lang.Object
-
- swim.uri.UriPattern
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Uri
apply(String... args)
<T> Output<T>
debug(Output<T> output)
Writes a developer readable, debug-formatted string representation of this object tooutput
.<T> Output<T>
display(Output<T> output)
Writes a human readable, display-formatted string representation of this object tooutput
.static UriPattern
empty()
boolean
equals(Object other)
static Form<UriPattern>
form()
static UriPattern
from(Uri pattern)
int
hashCode()
abstract boolean
isUri()
boolean
matches(String uri)
abstract boolean
matches(Uri uri)
static UriPattern
parse(String pattern)
String
toString()
abstract Uri
toUri()
HashTrieMap<String,String>
unapply(String uri)
HashTrieMap<String,String>
unapply(String uri, HashTrieMap<String,String> defaults)
HashTrieMap<String,String>
unapply(Uri uri)
abstract HashTrieMap<String,String>
unapply(Uri uri, HashTrieMap<String,String> defaults)
-
-
-
Method Detail
-
isUri
public abstract boolean isUri()
-
toUri
public abstract Uri toUri()
-
unapply
public abstract HashTrieMap<String,String> unapply(Uri uri, HashTrieMap<String,String> defaults)
-
unapply
public HashTrieMap<String,String> unapply(String uri, HashTrieMap<String,String> defaults)
-
unapply
public HashTrieMap<String,String> unapply(Uri uri)
-
unapply
public HashTrieMap<String,String> unapply(String uri)
-
matches
public abstract boolean matches(Uri uri)
-
matches
public boolean matches(String uri)
-
debug
public <T> Output<T> debug(Output<T> output)
Description copied from interface:Debug
Writes a developer readable, debug-formatted string representation of this object tooutput
.
-
display
public <T> Output<T> display(Output<T> output)
Description copied from interface:Display
Writes a human readable, display-formatted string representation of this object tooutput
.
-
empty
public static UriPattern empty()
-
from
public static UriPattern from(Uri pattern)
-
parse
public static UriPattern parse(String pattern)
-
form
@Kind public static Form<UriPattern> form()
-
-