getSegments

Returns the list of segments that make up the route path.