Class CookieOrigin


  • @Contract(threading=IMMUTABLE)
    public final class CookieOrigin
    extends java.lang.Object
    CookieOrigin class encapsulates details of an origin server that are relevant when parsing, validating or matching HTTP cookies.
    Since:
    4.0
    • Constructor Summary

      Constructors 
      Constructor Description
      CookieOrigin​(java.lang.String host, int port, java.lang.String path, boolean secure)  
    • Constructor Detail

      • CookieOrigin

        public CookieOrigin​(java.lang.String host,
                            int port,
                            java.lang.String path,
                            boolean secure)
    • Method Detail

      • getHost

        public java.lang.String getHost()
      • getPath

        public java.lang.String getPath()
      • getPort

        public int getPort()
      • isSecure

        public boolean isSecure()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object