Class WebSocketCookieStore

  • All Implemented Interfaces:
    java.net.CookieStore

    class WebSocketCookieStore
    extends java.lang.Object
    implements java.net.CookieStore
    A helper class for WebSocket.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(java.net.URI uri, java.net.HttpCookie cookie)
      java.util.List<java.net.HttpCookie> get​(java.net.URI uri)
      java.util.List<java.net.HttpCookie> getCookies()
      java.util.List<java.net.URI> getURIs()
      boolean remove​(java.net.URI uri, java.net.HttpCookie cookie)
      boolean removeAll()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • webClient_

        private final WebClient webClient_
    • Constructor Detail

      • WebSocketCookieStore

        WebSocketCookieStore​(WebClient webClient)
    • Method Detail

      • add

        public void add​(java.net.URI uri,
                        java.net.HttpCookie cookie)
        Specified by:
        add in interface java.net.CookieStore
      • get

        public java.util.List<java.net.HttpCookie> get​(java.net.URI uri)
        Specified by:
        get in interface java.net.CookieStore
      • getCookies

        public java.util.List<java.net.HttpCookie> getCookies()
        Specified by:
        getCookies in interface java.net.CookieStore
      • getURIs

        public java.util.List<java.net.URI> getURIs()
        Specified by:
        getURIs in interface java.net.CookieStore
      • remove

        public boolean remove​(java.net.URI uri,
                              java.net.HttpCookie cookie)
        Specified by:
        remove in interface java.net.CookieStore
      • removeAll

        public boolean removeAll()
        Specified by:
        removeAll in interface java.net.CookieStore