A criterium for matchain against URLs in unobtanium.
The URL matching criterium has the following variants:
user
- Takes a String Criterium as argument.
- Matches the URLs user part against the given string criterium.
- Defaults to an empty string, will never be a none value.
password
- Takes a String Criterium as argument.
- Matches the URLs password part against the given string criterium.
- Defaults to a none value.
path
- Takes a String Criterium as argument.
- Matches the URLs path part against the given string criterium.
- Defaults to an empty string, will never be a none value.
query
- Takes a String Criterium as argument.
- Matches the URLs query part against the given string criterium.
- Defaults to a none value.
fragment
- Takes a String Criterium as argument.
- Matches the URLs fragment part against the given string criterium.
- Defaults to a none value.
scheme
-
Same as
scheme
on the Origin criterium host
-
Same as
host
on the Origin criterium port
-
Same as
port
on the Origin criterium equals
- Takes an URL as argument.
- Matches if the URL to match is equals the given one.
same_document_as
- Takes an URL without a fragment part as argument.
- Matches if the URL to match equals the given URL ignoring the fragment part.