PathPattern

sealed external interface PathPattern(source)

A PathPattern is used to match on some portion of a URL pathname.

Properties

Link copied to clipboard
abstract var caseSensitive: Boolean?

Should be true if the static portions of the path should be matched in the same case.

Link copied to clipboard
abstract var end: Boolean?

Should be true if this pattern should match the entire URL pathname.

Link copied to clipboard
abstract var path: Path

A string to match against a URL pathname. May contain :id-style segments to indicate placeholders for dynamic parameters. May also end with /* to indicate matching the rest of the URL pathname.