Class JDiscCookieWrapper

java.lang.Object
com.yahoo.jdisc.http.filter.JDiscCookieWrapper

public class JDiscCookieWrapper extends Object
Wrapper of Cookie.
Author:
Tejal Knot
  • Constructor Details

    • JDiscCookieWrapper

      protected JDiscCookieWrapper(Cookie cookie)
  • Method Details

    • wrap

      public static JDiscCookieWrapper wrap(Cookie cookie)
    • getDomain

      public String getDomain()
    • getMaxAge

      public int getMaxAge()
    • getName

      public String getName()
    • getPath

      public String getPath()
    • getSecure

      public boolean getSecure()
    • getValue

      public String getValue()
    • setDomain

      public void setDomain(String pattern)
    • setMaxAge

      public void setMaxAge(int expiry)
    • setPath

      public void setPath(String uri)
    • setSecure

      public void setSecure(boolean flag)
    • setValue

      public void setValue(String newValue)
    • getCookie

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