Class SimpletonCookie

java.lang.Object
io.milton.simpleton.SimpletonCookie
All Implemented Interfaces:
Cookie

public class SimpletonCookie extends Object implements Cookie
Author:
brad
  • Constructor Details

    • SimpletonCookie

      public SimpletonCookie(org.simpleframework.http.Cookie wrapped)
  • Method Details

    • getWrapped

      public org.simpleframework.http.Cookie getWrapped()
    • getVersion

      public int getVersion()
      Specified by:
      getVersion in interface Cookie
    • setVersion

      public void setVersion(int version)
      Specified by:
      setVersion in interface Cookie
    • getName

      public String getName()
      Specified by:
      getName in interface Cookie
    • getValue

      public String getValue()
      Specified by:
      getValue in interface Cookie
    • setValue

      public void setValue(String value)
      Specified by:
      setValue in interface Cookie
    • getSecure

      public boolean getSecure()
      Specified by:
      getSecure in interface Cookie
    • setSecure

      public void setSecure(boolean secure)
      Specified by:
      setSecure in interface Cookie
    • getExpiry

      public int getExpiry()
      Specified by:
      getExpiry in interface Cookie
    • setExpiry

      public void setExpiry(int expiry)
      Specified by:
      setExpiry in interface Cookie
    • getPath

      public String getPath()
      Specified by:
      getPath in interface Cookie
    • setPath

      public void setPath(String path)
      Specified by:
      setPath in interface Cookie
    • getDomain

      public String getDomain()
      Specified by:
      getDomain in interface Cookie
    • setDomain

      public void setDomain(String domain)
      Specified by:
      setDomain in interface Cookie
    • isHttpOnly

      public boolean isHttpOnly()
      Specified by:
      isHttpOnly in interface Cookie
    • setHttpOnly

      public void setHttpOnly(boolean b)
      Specified by:
      setHttpOnly in interface Cookie