Class HttpCookieStore

  • All Implemented Interfaces:
    java.net.CookieStore

    @Deprecated(since="2021-05-27")
    public class HttpCookieStore
    extends java.lang.Object
    implements java.net.CookieStore
    Deprecated.
    The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
    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
      Deprecated.
    • Constructor Summary

      Constructors 
      Constructor Description
      HttpCookieStore()
      Deprecated.
       
    • Method Summary

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

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

      • HttpCookieStore

        public HttpCookieStore()
        Deprecated.
    • Method Detail

      • add

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

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

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

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

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

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

        public static java.util.List<java.net.HttpCookie> matchPath​(java.net.URI uri,
                                                                    java.util.List<java.net.HttpCookie> cookies)
        Deprecated.