com.vaadin.flow.router.internal.

Class ResolveRequest

java.lang.Object
com.vaadin.flow.router.internal.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:

  • Constructor Details

    • 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 Details

    • 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