Class IgnoreCookieSpec

  • All Implemented Interfaces:
    org.apache.http.cookie.CookieSpec

    public class IgnoreCookieSpec
    extends org.apache.http.impl.cookie.CookieSpecBase
    Cookie specifications that ignore all cookies.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<org.apache.http.Header> formatCookies​(java.util.List<org.apache.http.cookie.Cookie> cookies)
      Returns an empty list.
      int getVersion()
      Returns '0' as version.
      org.apache.http.Header getVersionHeader()
      Returns a null version header.
      java.util.List<org.apache.http.cookie.Cookie> parse​(org.apache.http.Header header, org.apache.http.cookie.CookieOrigin origin)
      Returns an empty list.
      • Methods inherited from class org.apache.http.impl.cookie.CookieSpecBase

        getDefaultDomain, getDefaultPath, match, parse, validate
      • Methods inherited from class org.apache.http.impl.cookie.AbstractCookieSpec

        findAttribHandler, getAttribHandler, getAttribHandlers, registerAttribHandler
      • Methods inherited from class java.lang.Object

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

      • IgnoreCookieSpec

        public IgnoreCookieSpec()
    • Method Detail

      • formatCookies

        public java.util.List<org.apache.http.Header> formatCookies​(java.util.List<org.apache.http.cookie.Cookie> cookies)
        Returns an empty list.
        Returns:
        An empty list.
      • getVersion

        public int getVersion()
        Returns '0' as version.
        Returns:
        '0' as version.
      • getVersionHeader

        public org.apache.http.Header getVersionHeader()
        Returns a null version header.
        Returns:
        A null version header.
      • parse

        public java.util.List<org.apache.http.cookie.Cookie> parse​(org.apache.http.Header header,
                                                                   org.apache.http.cookie.CookieOrigin origin)
                                                            throws org.apache.http.cookie.MalformedCookieException
        Returns an empty list.
        Returns:
        An empty list.
        Throws:
        org.apache.http.cookie.MalformedCookieException