Class/Object

akka.http.scaladsl.model.headers

HttpCookie

Related Docs: object HttpCookie | package headers

Permalink

final case class 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) extends javadsl.model.headers.HttpCookie with ToStringRenderable with Product with Serializable

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. Serializable
  4. Product
  5. Equals
  6. ToStringRenderable
  7. Renderable
  8. HttpCookie
  9. AnyRef
  10. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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)

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from HttpCookie to any2stringadd[HttpCookie] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (HttpCookie, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from HttpCookie to ArrowAssoc[HttpCookie] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val domain: Option[String]

    Permalink
  9. def ensuring(cond: (HttpCookie) ⇒ Boolean, msg: ⇒ Any): HttpCookie

    Permalink
    Implicit information
    This member is added by an implicit conversion from HttpCookie to Ensuring[HttpCookie] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: (HttpCookie) ⇒ Boolean): HttpCookie

    Permalink
    Implicit information
    This member is added by an implicit conversion from HttpCookie to Ensuring[HttpCookie] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean, msg: ⇒ Any): HttpCookie

    Permalink
    Implicit information
    This member is added by an implicit conversion from HttpCookie to Ensuring[HttpCookie] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean): HttpCookie

    Permalink
    Implicit information
    This member is added by an implicit conversion from HttpCookie to Ensuring[HttpCookie] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. val expires: Option[DateTime]

    Permalink
  15. val extension: Option[String]

    Permalink
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from HttpCookie to StringFormat[HttpCookie] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. def getDomain(): Optional[String]

    Permalink

    Java API

    Java API

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

    Permalink

    Java API

    Java API

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

    Permalink

    Java API

    Java API

    Definition Classes
    HttpCookieHttpCookie
  22. def getMaxAge(): OptionalLong

    Permalink

    Java API

    Java API

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

    Permalink

    Java API

    Java API

    Definition Classes
    HttpCookieHttpCookie
  24. val httpOnly: Boolean

    Permalink
    Definition Classes
    HttpCookieHttpCookie
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. val maxAge: Option[Long]

    Permalink
  27. val name: String

    Permalink
    Definition Classes
    HttpCookieHttpCookie
  28. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  31. def pair(): HttpCookiePair

    Permalink

    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
  32. val path: Option[String]

    Permalink
  33. def render[R <: Rendering](r: R): r.type

    Permalink
    Definition Classes
    HttpCookie → Renderable
  34. val secure: Boolean

    Permalink
    Definition Classes
    HttpCookieHttpCookie
  35. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    ToStringRenderable → AnyRef → Any
  37. val value: String

    Permalink
    Definition Classes
    HttpCookieHttpCookie
  38. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. def withDomain(domain: String): javadsl.model.headers.HttpCookie

    Permalink

    Java API

    Java API

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

    Permalink

    Java API

    Java API

    Definition Classes
    HttpCookieHttpCookie
  43. def withExtension(extension: String): javadsl.model.headers.HttpCookie

    Permalink

    Java API

    Java API

    Definition Classes
    HttpCookieHttpCookie
  44. def withHttpOnly(httpOnly: Boolean): javadsl.model.headers.HttpCookie

    Permalink

    Java API

    Java API

    Definition Classes
    HttpCookieHttpCookie
  45. def withMaxAge(maxAge: Long): javadsl.model.headers.HttpCookie

    Permalink

    Java API

    Java API

    Definition Classes
    HttpCookieHttpCookie
  46. def withPath(path: String): javadsl.model.headers.HttpCookie

    Permalink

    Java API

    Java API

    Definition Classes
    HttpCookieHttpCookie
  47. def withSecure(secure: Boolean): javadsl.model.headers.HttpCookie

    Permalink

    Java API

    Java API

    Definition Classes
    HttpCookieHttpCookie
  48. def [B](y: B): (HttpCookie, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from HttpCookie to ArrowAssoc[HttpCookie] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ToStringRenderable

Inherited from Renderable

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from HttpCookie to any2stringadd[HttpCookie]

Inherited by implicit conversion StringFormat from HttpCookie to StringFormat[HttpCookie]

Inherited by implicit conversion Ensuring from HttpCookie to Ensuring[HttpCookie]

Inherited by implicit conversion ArrowAssoc from HttpCookie to ArrowAssoc[HttpCookie]

Ungrouped