RouteInformationExtension extension

An extension on RouteInformation that provides helper methods for routing operations, such as redirecting, rewriting, and extracting queries.

on

Properties

request RouteRequest?

Available on RouteInformation, provided by the RouteInformationExtension extension

Retrieves the route request object.
no setter

Methods

query(String path) RouteflyQuery?

Available on RouteInformation, provided by the RouteInformationExtension extension

Retrieves query and parameters for a given path.
redirect(Uri newUri) RouteInformation

Available on RouteInformation, provided by the RouteInformationExtension extension

Redirects the current URI to a new URI.
rewrite(Uri newUri) RouteInformation

Available on RouteInformation, provided by the RouteInformationExtension extension

Rewrites the current URI with a new URI.