Uses of Class
com.vaadin.flow.router.QueryParameters
Packages that use QueryParameters
Package
Description
-
Uses of QueryParameters in com.vaadin.flow.component
Methods in com.vaadin.flow.component with parameters of type QueryParametersModifier and TypeMethodDescriptionUI.navigate
(Class<? extends C> navigationTarget, RouteParameters routeParameter, QueryParameters queryParameters) Updates this UI to show the view corresponding to the given navigation target with the specified parameters.<T,
C extends Component & HasUrlParameter<T>>
Optional<C>UI.navigate
(Class<? extends C> navigationTarget, T parameter, QueryParameters queryParameters) Updates this UI to show the view corresponding to the given navigation target with the specified parameter.UI.navigate
(Class<? extends T> navigationTarget, QueryParameters queryParameters) Updates this UI to show the view corresponding to the given navigation target and query parameters.void
UI.navigate
(String locationString, QueryParameters queryParameters) Updates this UI to show the view corresponding to the given location and query parameters. -
Uses of QueryParameters in com.vaadin.flow.component.html.testbench
Methods in com.vaadin.flow.component.html.testbench that return QueryParametersModifier and TypeMethodDescriptionAnchorTester.getQueryParameters()
Gets the query parameters for the router-link. -
Uses of QueryParameters in com.vaadin.flow.component.webcomponent
Methods in com.vaadin.flow.component.webcomponent with parameters of type QueryParametersModifier and TypeMethodDescriptionvoid
WebComponentUI.navigate
(String location, QueryParameters queryParameters) -
Uses of QueryParameters in com.vaadin.flow.router
Methods in com.vaadin.flow.router that return QueryParametersModifier and TypeMethodDescriptionstatic QueryParameters
QueryParameters.empty()
Creates an empty query parameters information.Return new QueryParameters excluding given parameters by names.static QueryParameters
QueryParameters.fromString
(String queryString) Creates parameters from a query string.static QueryParameters
Creates parameters from full representation, where each parameter name may correspond to multiple values.Location.getQueryParameters()
Gets the request parameters used for current location.BeforeEvent.getRedirectQueryParameters()
Gets the query parameters for forwarded and rerouted URL.Return new QueryParameters including only the given parameters.Return new QueryParameters adding given parameter to the existing ones.QueryParameters.mergingAll
(Map<String, List<String>> parameters) Return new QueryParameters including given parameters and the existing ones.static QueryParameters
Creates parameters from given key-value pair.static QueryParameters
LocationUtil.parseQueryParameters
(String location) Parses query parameters from the given location.static QueryParameters
Creates parameters from simple representation, where each parameter name corresponds to a single value.Methods in com.vaadin.flow.router that return types with arguments of type QueryParametersModifier and TypeMethodDescriptionRouterLink.getQueryParameters()
Gets theQueryParameters
of this link.Methods in com.vaadin.flow.router with parameters of type QueryParametersModifier and TypeMethodDescription<C extends Component>
voidBeforeEvent.forwardTo
(Class<? extends C> forwardTargetComponent, QueryParameters queryParameters) Forward the navigation to show the given component with given query parameters instead of the component that is currently about to be displayed.<C extends Component>
voidBeforeEvent.forwardTo
(Class<? extends C> forwardTargetComponent, RouteParameters routeParameters, QueryParameters queryParameters) Forward the navigation to show the given component with given route parameters and query parameters instead of the component that is currently about to be displayed.<T,
C extends Component & HasUrlParameter<T>>
voidBeforeEvent.forwardTo
(Class<? extends C> forwardTargetComponent, T routeParameter, QueryParameters queryParameters) Forward the navigation to show the given component with given route parameter and query parameters instead of the component that is currently about to be displayed.void
BeforeEvent.forwardTo
(String locationString, QueryParameters queryParameters) Forward to navigation component registered for given location string with given query parameters instead of the component about to be displayed.<C extends Component>
voidBeforeEvent.rerouteTo
(Class<? extends C> routeTargetType, QueryParameters queryParameters) Reroutes the navigation to show the given component with given query parameters instead of the component that is currently about to be displayed.<C extends Component>
voidBeforeEvent.rerouteTo
(Class<? extends C> routeTargetType, RouteParameters routeParameters, QueryParameters queryParameters) Reroutes the navigation to show the given component with given route parameters and query parameters instead of the component that is currently about to be displayed.<T,
C extends Component & HasUrlParameter<T>>
voidBeforeEvent.rerouteTo
(Class<? extends C> routeTargetType, T routeParameter, QueryParameters queryParameters) Reroutes the navigation to show the given component with given route parameter and query parameters instead of the component that is currently about to be displayed.void
BeforeEvent.rerouteTo
(String route, QueryParameters queryParameters) Reroute to navigation component registered for given location string with given query parameters instead of the component about to be displayed.void
RouterLink.setQueryParameters
(QueryParameters queryParameters) Sets theQueryParameters
of this link.Constructors in com.vaadin.flow.router with parameters of type QueryParametersModifierConstructorDescriptionLocation
(String location, QueryParameters queryParameters) Creates a newLocation
object for given location string and query parameters.Location
(List<String> segments, QueryParameters queryParameters) Creates a new location based on a list of path segments and query parameters.