Packages

final class HttpCookie extends javadsl.model.headers.HttpCookie with ToStringRenderable with Product with Serializable with Equals

for a full definition of the http cookie header fields, see http://tools.ietf.org/html/rfc6265

Source
HttpCookie.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HttpCookie
  2. Serializable
  3. Product
  4. Equals
  5. ToStringRenderable
  6. Renderable
  7. HttpCookie
  8. AnyRef
  9. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new HttpCookie(name: String, value: String, expires: Option[DateTime] = None, maxAge: Option[Long] = None, domain: Option[String] = None, path: Option[String] = None, secure: Boolean = false, httpOnly: Boolean = false, extension: Option[String] = None)
    Annotations
    @deprecated
    Deprecated

    (Since version 10.2.0) Please use HttpCookie(name, value).withXxx()

Value Members

  1. def canEqual(that: Any): Boolean
    Definition Classes
    HttpCookie → Equals
  2. val domain: Option[String]
  3. def equals(obj: Any): Boolean
    Definition Classes
    HttpCookie → Equals → AnyRef → Any
  4. val expires: Option[DateTime]
  5. val extension: Option[String]
  6. def getDomain(): Optional[String]

    Java API

    Java API

    Definition Classes
    HttpCookieHttpCookie
  7. def getExpires(): Optional[javadsl.model.DateTime]

    Java API

    Java API

    Definition Classes
    HttpCookieHttpCookie
  8. def getExtension(): Optional[String]

    Java API

    Java API

    Definition Classes
    HttpCookieHttpCookie
  9. def getMaxAge(): OptionalLong

    Java API

    Java API

    Definition Classes
    HttpCookieHttpCookie
  10. def getPath(): Optional[String]

    Java API

    Java API

    Definition Classes
    HttpCookieHttpCookie
  11. def getSameSite(): Optional[javadsl.model.headers.SameSite]

    Java API

    Java API

    Definition Classes
    HttpCookieHttpCookie
  12. def httpOnly(): Boolean
    Definition Classes
    HttpCookieHttpCookie
  13. val maxAge: Option[Long]
  14. def name(): String
    Definition Classes
    HttpCookieHttpCookie
  15. def pair(): HttpCookiePair

    Returns the name/value pair for this cookie, to be used in Cookie headers.

    Returns the name/value pair for this cookie, to be used in Cookie headers.

    Definition Classes
    HttpCookieHttpCookie
  16. val path: Option[String]
  17. def productArity: Int
    Definition Classes
    HttpCookie → Product
  18. def productElement(n: Int): Any
    Definition Classes
    HttpCookie → Product
  19. def productElementName(n: Int): String
    Definition Classes
    Product
  20. def productElementNames: Iterator[String]
    Definition Classes
    Product
  21. def productIterator: Iterator[Any]
    Definition Classes
    Product
  22. def productPrefix: String
    Definition Classes
    Product
  23. def render[R <: Rendering](r: R): r.type
    Definition Classes
    HttpCookie → Renderable
  24. val sameSite: Option[SameSite]
  25. def secure(): Boolean
    Definition Classes
    HttpCookieHttpCookie
  26. def toString(): String
    Definition Classes
    ToStringRenderable → AnyRef → Any
  27. def value(): String
    Definition Classes
    HttpCookieHttpCookie
  28. def withDomain(domain: String): HttpCookie

    Returns a copy of this HttpCookie instance with the given domain set.

    Returns a copy of this HttpCookie instance with the given domain set.

    Definition Classes
    HttpCookieHttpCookie
  29. def withExpires(dateTime: javadsl.model.DateTime): HttpCookie

    Java API

    Java API

    Definition Classes
    HttpCookieHttpCookie
  30. def withExpires(dateTime: DateTime): HttpCookie

    Scala API

  31. def withExtension(extension: String): HttpCookie

    Returns a copy of this HttpCookie instance with the given extension set.

    Returns a copy of this HttpCookie instance with the given extension set.

    Definition Classes
    HttpCookieHttpCookie
  32. def withHttpOnly(httpOnly: Boolean): HttpCookie

    Returns a copy of this HttpCookie instance with the given http-only flag set.

    Returns a copy of this HttpCookie instance with the given http-only flag set.

    Definition Classes
    HttpCookieHttpCookie
  33. def withMaxAge(maxAge: Long): HttpCookie

    Returns a copy of this HttpCookie instance with the given max age set.

    Returns a copy of this HttpCookie instance with the given max age set.

    Definition Classes
    HttpCookieHttpCookie
  34. def withName(name: String): HttpCookie
  35. def withPath(path: String): HttpCookie

    Returns a copy of this HttpCookie instance with the given path set.

    Returns a copy of this HttpCookie instance with the given path set.

    Definition Classes
    HttpCookieHttpCookie
  36. def withSameSite(sameSite: Optional[javadsl.model.headers.SameSite]): HttpCookie

    Returns a copy of this HttpCookie instance with the given Optional SameSite set.

    Returns a copy of this HttpCookie instance with the given Optional SameSite set.

    Definition Classes
    HttpCookieHttpCookie
  37. def withSameSite(sameSite: javadsl.model.headers.SameSite): HttpCookie

    Java API

    Java API

    Definition Classes
    HttpCookieHttpCookie
  38. def withSameSite(sameSite: Option[SameSite]): HttpCookie
  39. def withSameSite(sameSite: SameSite): HttpCookie

    Scala API

  40. def withSecure(secure: Boolean): HttpCookie

    Returns a copy of this HttpCookie instance with the given secure flag set.

    Returns a copy of this HttpCookie instance with the given secure flag set.

    Definition Classes
    HttpCookieHttpCookie
  41. def withValue(value: String): HttpCookie