com.vaadin.server.

Interface ConnectorIdGenerator

    • Method Detail

      • generateConnectorId

        String generateConnectorId​(ConnectorIdGenerationEvent event)

        Generates a connector id for a connector.

        Parameters:

        event - the event object that has a reference to the connector and the session, not null

        Returns:

        the connector id to use for the connector, not null

      • generateDefaultConnectorId

        static String generateDefaultConnectorId​(ConnectorIdGenerationEvent event)

        Generates a connector id using the default logic by using VaadinSession.getNextConnectorId().

        Parameters:

        event - the event object that has a reference to the connector and the session, not null

        Returns:

        the connector id to use for the connector, not null