com.vaadin.flow.router.internal.
Package com.vaadin.flow.router.internal
Class ResolveRequest
java.lang.Object
com.vaadin.flow.router.internal.ResolveRequest
All Implemented Interfaces:
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 Summary
ConstructorsConstructorDescriptionResolveRequest
(Router router, Location location) Constructs a new ResolveRequest with the given Router and Location.
-
Method Summary
Modifier and TypeMethodDescriptionGets the location that is requested to be resolved.
Gets the router that this request originates from.
-
Constructor Details
-
ResolveRequest
Constructs a new ResolveRequest with the given Router and Location.
Parameters:
router
- the router this request originated from, notnull
location
- the location to resolve, notnull
-
-
Method Details
-
getRouter
Gets the router that this request originates from.
Returns:
the router this request originates from
-
getLocation
Gets the location that is requested to be resolved.
Returns:
the location to be resolved
-