Class ExchangeCookieHandler

  • All Implemented Interfaces:
    CookieHandler

    public class ExchangeCookieHandler
    extends BaseCookieHandler
    This implementation of the CookieHandler interface keeps the cookies with the Exchange. As this implementation does not keep any state you can share it between different endpoints without limitation.
    • Constructor Detail

      • ExchangeCookieHandler

        public ExchangeCookieHandler()
    • Method Detail

      • setCookiePolicy

        public void setCookiePolicy​(CookiePolicy cookiePolicy)
        Description copied from interface: CookieHandler
        Define a CookiePolicy for cookies stored by this CookieHandler
        Parameters:
        cookiePolicy - the CookiePolicy