Interface CBLCookieStore


  • public interface CBLCookieStore
    Interface for CookieStore
    • Method Detail

      • parseCookies

        @NonNull
        static List<okhttp3.Cookie> parseCookies​(@NonNull
                                                 okhttp3.HttpUrl url,
                                                 @NonNull
                                                 String cookies)
        Parse request header "Cookie" in the format of "name=value;name=value..." into OKHTTP Cookie used by AbstractCBLWebSocket.
      • setCookie

        void setCookie​(@NonNull
                       URI uri,
                       @NonNull
                       String setCookieHeader)
      • getCookies

        @Nullable
        String getCookies​(@NonNull
                          URI uri)