- 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.
A strategy that specifies how conversations should be propagated between
pages/resources.
ConversationPropagation
provides sensible default
implementations of this interface.- Author:
- papegaaij
-
Method Summary
Modifier and TypeMethodDescriptionboolean
propagatesVia
(IRequestHandler handler, Page page) Indicates if the conversation should be propagated via url-parameters for the given request handler and page (if any).
-
Method Details
-
propagatesVia
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 handlerpage
- The page associated with the request handler, or null if the handler is not anIPageRequestHandler
.- Returns:
- true if the conversation should be propagated for the given request handler.
-