Interface IntentContextHandler<T,​R>

  • Type Parameters:
    T - type of the request data
    R - type of the returned data
    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 IntentContextHandler<T,​R>
    Intent context update handler.
    Since:
    1.4.1
    • Method Detail

      • handle

        R handle​(IntentContext<T> context)
        Handle Intent context update.
        Parameters:
        context - context
        Returns:
        The result to be sent to the caller, may be null