Package org.apache.wicket.cdi
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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).
-
-
-
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 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.
-
-