PathEntryHandler class

The UrlEntryHandler which will replace all the URL paths with the given structure {<path_name>} with the appropriate values. For a given url https://example.com/{userId}/profile the {userId} is a path entry, with the name parameter equal to "userId" and eventually the name={userId} will be replaced with the value=15 by the PathEntryHandler, so we will end up with https://example.com/15/profile.

Inheritance

Constructors

PathEntryHandler()

Properties

entryType Type
The type of the UrlEntry that this UrlEntryHandler is responsible for.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onHandle(String url, Path entry) String
Override this method and implement the handling of the url, see the examples in the QueryEntryHandler and PathEntryHandler.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited