Class HttpCookieStore

  • All Implemented Interfaces:

    public class HttpCookieStore
    extends java.lang.Object
    Implementation of CookieStore that delegates to an instance created by CookieManager via CookieManager.getCookieStore().
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  HttpCookieStore.Empty  
    • Constructor Summary

      Constructor Description
    • Method Summary

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

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

      • HttpCookieStore

        public HttpCookieStore()
    • Method Detail

      • add

        public void add​( uri,
        Specified by:
        add in interface
      • get

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

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

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

        public boolean remove​( uri,
        Specified by:
        remove in interface
      • removeAll

        public boolean removeAll()
        Specified by:
        removeAll in interface
      • matchPath

        public static java.util.List<> matchPath​( uri,
                                                                    java.util.List<> cookies)