Class/Object

com.twitter.finagle.http

Cookie

Related Docs: object Cookie | package http

Permalink

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)

    Permalink
  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)

    Permalink

    Create a cookie.

  3. new Cookie(underlying: org.jboss.netty.handler.codec.http.Cookie)

    Permalink
    Annotations
    @deprecated
    Deprecated

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

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def comment: String

    Permalink

    Get the comment.

    Get the comment.

    Note

    May be null.

  7. def commentUrl: String

    Permalink

    Get the commentUrl.

    Get the commentUrl.

    Note

    May be null.

  8. def discard: Boolean

    Permalink
  9. def domain(domain: Option[String]): Cookie

    Permalink

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

  10. def domain: String

    Permalink

    Get the domain.

    Get the domain.

    Note

    May be null.

  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(obj: Any): Boolean

    Permalink

    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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Permalink

    From Netty 3's DefaultCookie

    From Netty 3's DefaultCookie

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

    Permalink

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

  17. def httpOnly: Boolean

    Permalink
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. def maxAge(maxAge: Option[Duration]): Cookie

    Permalink

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

  20. def maxAge: Duration

    Permalink
  21. def name: String

    Permalink
  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. def path(path: Option[String]): Cookie

    Permalink

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

  26. def path: String

    Permalink

    Get the path.

    Get the path.

    Note

    May be null.

  27. def ports: Set[Int]

    Permalink
  28. def secure(secure: Boolean): Cookie

    Permalink

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

  29. def secure: Boolean

    Permalink
  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  31. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  32. def value: String

    Permalink
  33. def version: Int

    Permalink
  34. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

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

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink
    Annotations
    @deprecated
    Deprecated

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

  5. def isDiscard: Boolean

    Permalink
    Annotations
    @deprecated
    Deprecated

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

  6. def isDiscard_=(discard: Boolean): Unit

    Permalink
    Annotations
    @deprecated
    Deprecated

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

  7. def isSecure: Boolean

    Permalink
    Annotations
    @deprecated
    Deprecated

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

  8. def isSecure_=(secure: Boolean): Unit

    Permalink
    Annotations
    @deprecated
    Deprecated

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

  9. def maxAge_=(maxAge: Duration): Unit

    Permalink
    Annotations
    @deprecated
    Deprecated

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

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

    Permalink

    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

    Permalink
    Annotations
    @deprecated
    Deprecated

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

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

    Permalink

    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

    Permalink
    Annotations
    @deprecated
    Deprecated

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

Inherited from AnyRef

Inherited from Any

Ungrouped