We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.router.
Interface HasUrlParameter<T>
-
Type Parameters:
T
- type parameter typeAll Superinterfaces:
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface HasUrlParameter<T> extends Serializable
Interface for defining url parameters for navigation targets for use in routing.
Since:
1.0.
Author:
Vaadin Ltd
-
-
Method Summary
All Methods Modifier and Type Method and Description void
setParameter(BeforeEvent event, T parameter)
Method that is called automatically when navigating to the target that implements this interface.
-
-
-
Method Detail
-
setParameter
void setParameter(BeforeEvent event, T parameter)
Method that is called automatically when navigating to the target that implements this interface.
Parameters:
event
- the navigation event that caused the call to this methodparameter
- the resolved url parameter
-
-