com.vaadin.flow.router.

Interface HasUrlParameter<T>

Type Parameters:

T - type parameter type

All Superinterfaces:

Serializable

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

Defines route parameters for navigation targets for use in routing.

Since:

1.0.

Author:

Vaadin Ltd

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setParameter(BeforeEvent event, T parameter)

    Notifies about navigating to the target that implements this interface.

  • Method Details

    • setParameter

      void setParameter(BeforeEvent event, T parameter)

      Notifies about navigating to the target that implements this interface.

      Parameters:

      event - the navigation event that caused the call to this method

      parameter - the resolved url parameter