Class JDiscCookieWrapper


  • public class JDiscCookieWrapper
    extends java.lang.Object
    Wrapper of Cookie.
    Author:
    Tejal Knot
    • Constructor Detail

      • JDiscCookieWrapper

        protected JDiscCookieWrapper​(Cookie cookie)
    • Method Detail

      • getDomain

        public java.lang.String getDomain()
      • getMaxAge

        public int getMaxAge()
      • getName

        public java.lang.String getName()
      • getPath

        public java.lang.String getPath()
      • getSecure

        public boolean getSecure()
      • getValue

        public java.lang.String getValue()
      • setDomain

        public void setDomain​(java.lang.String pattern)
      • setMaxAge

        public void setMaxAge​(int expiry)
      • setPath

        public void setPath​(java.lang.String uri)
      • setSecure

        public void setSecure​(boolean flag)
      • setValue

        public void setValue​(java.lang.String newValue)
      • getCookie

        public Cookie getCookie()
        Return com.yahoo.jdisc.http.Cookie
        Returns:
        - cookie