Class HttpCookieStore.Empty

  • All Implemented Interfaces:
    java.net.CookieStore
    Enclosing class:
    HttpCookieStore

    public static class HttpCookieStore.Empty
    extends java.lang.Object
    implements java.net.CookieStore
    • Constructor Summary

      Constructors 
      Constructor Description
      Empty()  
    • 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
    • Constructor Detail

      • Empty

        public Empty()
    • 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