Packages

class Cookie extends AnyRef

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Cookie
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Cookie(name: String, value: String)
  2. new Cookie(name: String, value: String, domain: Option[String] = None, path: Option[String] = None, maxAge: Option[Duration] = Some(Cookie.DefaultMaxAge), secure: Boolean = false, httpOnly: Boolean = false)

    Create a cookie.

  3. new Cookie(underlying: org.jboss.netty.handler.codec.http.Cookie)
    Annotations
    @deprecated
    Deprecated

    Use Bijections.from to create a Cookie from a Netty Cookie

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. def comment: String

    Get the comment.

    Get the comment.

    Note

    May be null.

  7. def commentUrl: String

    Get the commentUrl.

    Get the commentUrl.

    Note

    May be null.

  8. def discard: Boolean
  9. def domain(domain: Option[String]): Cookie

    Create a new Cookie with the same set fields, and domain domain.

  10. def domain: String

    Get the domain.

    Get the domain.

    Note

    May be null.

  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(obj: Any): Boolean

    Returns true if obj equals this.

    Returns true if obj equals this. Two cookies are considered equal if their names, paths, and domains are the same (ignoring case). This mimics the equals method on Netty's DefaultCookie.

    Definition Classes
    Cookie → AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int

    From Netty 3's DefaultCookie

    From Netty 3's DefaultCookie

    Definition Classes
    Cookie → AnyRef → Any
  16. def httpOnly(httpOnly: Boolean): Cookie

    Create a new Cookie with the same set fields, and httpOnly httpOnly

  17. def httpOnly: Boolean
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def maxAge(maxAge: Option[Duration]): Cookie

    Create a new Cookie with the same set fields, and maxAge maxAge

  20. def maxAge: Duration
  21. def name: String
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. def path(path: Option[String]): Cookie

    Create a new Cookie with the same set fields, and path path.

  26. def path: String

    Get the path.

    Get the path.

    Note

    May be null.

  27. def ports: Set[Int]
  28. def secure(secure: Boolean): Cookie

    Create a new Cookie with the same set fields, and secure secure

  29. def secure: Boolean
  30. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. def value: String
  33. def version: Int
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Deprecated Value Members

  1. def commentUrl_=(commentUrl: String): Unit

    Set the commentUrl.

    Set the commentUrl.

    Annotations
    @deprecated
    Deprecated

    (Since version 2017-08-16) Removed per RFC-6265

    Note

    commentUrl may be null.

  2. def comment_=(comment: String): Unit

    Set the comment.

    Set the comment.

    Annotations
    @deprecated
    Deprecated

    (Since version 2017-08-16) Removed per RFC-6265

    Note

    comment may be null.

  3. def domain_=(domain: String): Unit

    Set the domain.

    Set the domain.

    Annotations
    @deprecated
    Deprecated

    (Since version 2017-08-16) Set domain in the Cookie constructor or use Cookie.domain

    Note

    domain may be null.

  4. def httpOnly_=(httpOnly: Boolean): Unit
    Annotations
    @deprecated
    Deprecated

    (Since version 2017-08-16) Set httpOnly in the Cookie constructor or use Cookie.httpOnly

  5. def isDiscard: Boolean
    Annotations
    @deprecated
    Deprecated

    (Since version 2017-08-16) Removed per RFC-6265

  6. def isDiscard_=(discard: Boolean): Unit
    Annotations
    @deprecated
    Deprecated

    (Since version 2017-08-16) Removed per RFC-6265

  7. def isSecure: Boolean
    Annotations
    @deprecated
    Deprecated

    (Since version 2017-08-16) Use secure instead

  8. def isSecure_=(secure: Boolean): Unit
    Annotations
    @deprecated
    Deprecated

    (Since version 2017-08-16) Set secure in the Cookie constructor or use Cookie.secure

  9. def maxAge_=(maxAge: Duration): Unit
    Annotations
    @deprecated
    Deprecated

    (Since version 2017-08-16) Set maxAge in the Cookie constructor or use Cookie.maxAge

  10. def path_=(path: String): Unit

    Set the path.

    Set the path.

    Annotations
    @deprecated
    Deprecated

    (Since version 2017-08-16) Set path in the Cookie constructor or use Cookie.path

    Note

    path may be null.

  11. def ports_=(ports: Seq[Int]): Unit
    Annotations
    @deprecated
    Deprecated

    (Since version 2017-08-16) Removed per RFC-6265

  12. def value_=(value: String): Unit

    Set the value.

    Set the value.

    Annotations
    @deprecated
    Deprecated

    (Since version 2017-08-16) Set value in the Cookie constructor

    Note

    value must not be null.

  13. def version_=(version: Int): Unit
    Annotations
    @deprecated
    Deprecated

    (Since version 2017-08-16) Removed per RFC-6265

Inherited from AnyRef

Inherited from Any

Ungrouped