Interface IConversationPropagation

  • All Known Implementing Classes:
    ConversationPropagation
    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 IConversationPropagation
    A strategy that specifies how conversations should be propagated between pages/resources. ConversationPropagation provides sensible default implementations of this interface.
    Author:
    papegaaij
    • Method Detail

      • propagatesVia

        boolean propagatesVia​(IRequestHandler handler,
                              Page page)
        Indicates if the conversation should be propagated via url-parameters for the given request handler and page (if any). A conversation is always propagated via the cid query parameter.
        Parameters:
        handler - The current request handler
        page - The page associated with the request handler, or null if the handler is not an IPageRequestHandler.
        Returns:
        true if the conversation should be propagated for the given request handler.