You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.flow.router.internal.

Class ResolveRequest

  • All Implemented Interfaces:

    Serializable

    public class ResolveRequest
    extends Object
    implements Serializable

    An object used to encapsulate data used in resolving routing requests.

    For internal use only. May be renamed or removed in a future release.

    Since:

    1.0.

    Author:

    Vaadin Ltd

    See Also:

    Serialized Form

    • Constructor Detail

      • ResolveRequest

        public ResolveRequest​(Router router,
                              Location location)

        Constructs a new ResolveRequest with the given Router and Location.

        Parameters:

        router - the router this request originated from, not null

        location - the location to resolve, not null

    • Method Detail

      • getRouter

        public Router getRouter()

        Gets the router that this request originates from.

        Returns:

        the router this request originates from

      • getLocation

        public Location getLocation()

        Gets the location that is requested to be resolved.

        Returns:

        the location to be resolved