Class/Object

com.twitter.finagle.http

Cookie

Related Docs: object Cookie | package http

Permalink

final class Cookie extends AnyRef

Self Type
Cookie
Note

domain and path may be null.

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, domain: Option[String], path: Option[String], maxAge: Option[Duration], secure: Boolean, httpOnly: Boolean)

    Permalink
  2. new Cookie(name: String, value: String)

    Permalink
  3. new Cookie(name: String, value: String, domain: Option[String] = None, path: Option[String] = None, maxAge: Option[Duration] = None, secure: Boolean = false, httpOnly: Boolean = false, sameSite: SameSite = SameSite.Unset)

    Permalink

    Create a 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 domain(domain: Option[String]): Cookie

    Permalink

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

  7. val domain: String

    Permalink
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. 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
  10. def finalize(): Unit

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

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

    Permalink

    From Netty 3's DefaultCookie

    From Netty 3's DefaultCookie

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

    Permalink

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

  14. val httpOnly: Boolean

    Permalink
  15. final def isInstanceOf[T0]: Boolean

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

    Permalink

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

  17. def maxAge: Duration

    Permalink
  18. val name: String

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

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

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

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

    Permalink

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

  23. val path: String

    Permalink
  24. def sameSite(sameSite: SameSite): Cookie

    Permalink

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

  25. val sameSite: SameSite

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

    Permalink

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

  27. val secure: Boolean

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  30. def value(value: String): Cookie

    Permalink

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

  31. val value: String

    Permalink
  32. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped