Class AsyncClientConversation<Request,​Response>


  • public class AsyncClientConversation<Request,​Response>
    extends Object

    A Conversation is a sequence of ConversationExchange instances that are used to describe the sequence of messages that are passed back and forth during a network transaction.

    Author:
    Donald Desloge
    • Constructor Detail

      • AsyncClientConversation

        public AsyncClientConversation()
    • Method Detail

      • setHasBanner

        public void setHasBanner​(boolean hasBanner)

        setHasBanner

        Parameters:
        hasBanner - a boolean.
      • hasBanner

        public boolean hasBanner()

        hasBanner

        Returns:
        a boolean.
      • hasExchanges

        public boolean hasExchanges()

        hasExchanges

        Returns:
        a boolean.
      • isComplete

        public boolean isComplete()

        isComplete

        Returns:
        a boolean.
      • validate

        public boolean validate​(Response message)

        validate

        Parameters:
        message - a Response object.
        Returns:
        a boolean.
      • getRequest

        public Request getRequest()

        getRequest

        Returns:
        a Request object.