Table of Contents

TXDataRouteInfo Class

Holds the segments of a route, used to match request URLs to service operations.

Syntax

Unit: XData.Model.Classes

TXDataRouteInfo = class(TObject);

Constructors

Name Description
Create Creates an empty route.

Methods

Name Description
Process Splits a route into segments and calculates its priority and number of parameters.

Properties

Name Description
ParamCount Gets the number of parameter segments in the route.
Priority Gets the priority of the route, used when several routes match the same URL.
SegmentCount Gets the number of segments of the route.
Segments[Index] Gets a segment of the route, by its index.