UrlMatchFlag class final
How a URL pattern matches a request's URL.
A pattern matches the whole URL, query included. Without flags, it matches only the URL that equals it exactly.
See mln_url_match_flag in the
C API reference.
Constructors
- UrlMatchFlag.fromRawValue(int rawValue)
-
const
Properties
Methods
-
contains(
UrlMatchFlag other) → bool -
Whether every bit of
otheris set in this value.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator &(
UrlMatchFlag other) → UrlMatchFlag -
inherited
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator |(
UrlMatchFlag other) → UrlMatchFlag -
inherited
Constants
- glob → const UrlMatchFlag
-
The URL matches the pattern as a glob.
*matches any characters except/,**matches any characters, and?matches one character except/.\makes the next character match only itself. For example,https://*.example.com/tiles/**matches every URL under/tiles/on each subdomain ofexample.com. - none → const UrlMatchFlag
- No flags.