Class ViewNavigationDelegate<N extends AbstractViewNavigator>
java.lang.Object
io.jmix.flowui.testassist.navigation.ViewNavigationDelegate<N>
- Type Parameters:
- N- type of navigator (e.g.- ViewNavigator, etc)
Class is designed for helping navigation in UI integration tests.
 
For building backward navigation URL it uses:
- "http://"
- "localhost"
- RouteParameters
- QueryParameters
During the navigation Vaadin ignores "http://" and "localhost" parts.
 It saves current URL in VaadinSession and for new navigation will be used as backward
 navigation URL.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected static final Stringprotected ViewNavigationSupportprotected ViewSupport
- 
Constructor SummaryConstructorsConstructorDescriptionViewNavigationDelegate(ViewNavigationSupport navigationSupport, ViewSupport viewSupport) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected StringDuring the processing URL for navigation Vaadin ignores protocol and host.protected URLprotected StringDuring the processing URL for navigation Vaadin ignores protocol and host.protected com.vaadin.flow.router.RouteConfigurationvoidsaveCurrentNavigation(Class<? extends View> viewClass, com.vaadin.flow.router.RouteParameters routeParameters, com.vaadin.flow.router.QueryParameters queryParameters) 
- 
Field Details- 
CURRENT_NAVIGATION_URL_ATTRIBUTE- See Also:
 
- 
viewSupport
 
- 
- 
Constructor Details
- 
Method Details- 
fetchCurrentUrl
- 
getRouteConfigurationprotected com.vaadin.flow.router.RouteConfiguration getRouteConfiguration()
- 
getHostUrl
- 
getProtocolDuring the processing URL for navigation Vaadin ignores protocol and host. The default value is "http://".- Returns:
- protocol
 
- 
getHostAddressDuring the processing URL for navigation Vaadin ignores protocol and host. The default value is "localhost".- Returns:
- host address
 
 
-