final case class ResponseCookie(name: String, content: String, expires: Option[HttpDate] = None, maxAge: Option[Long] = None, domain: Option[String] = None, path: Option[String] = None, secure: Boolean = false, httpOnly: Boolean = false, extension: Option[String] = None) extends Renderable with Product with Serializable
- extension
The extension attributes of the cookie. If there is more than one, they are joined by semi-colon, which must not appear in an attribute value.
- Source
- ResponseCookie.scala
- Alphabetic
- By Inheritance
- ResponseCookie
- Serializable
- Serializable
- Product
- Equals
- Renderable
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
ResponseCookie(name: String, content: String, expires: Option[HttpDate] = None, maxAge: Option[Long] = None, domain: Option[String] = None, path: Option[String] = None, secure: Boolean = false, httpOnly: Boolean = false, extension: Option[String] = None)
- extension
The extension attributes of the cookie. If there is more than one, they are joined by semi-colon, which must not appear in an attribute value.
Value Members
- def clearCookie: Set-Cookie
- val content: String
- val domain: Option[String]
- val expires: Option[HttpDate]
- val extension: Option[String]
- val httpOnly: Boolean
- val maxAge: Option[Long]
- val name: String
- val path: Option[String]
-
def
render(writer: Writer): writer.type
Base method for rendering this object efficiently
Base method for rendering this object efficiently
- Definition Classes
- ResponseCookie → Renderable
-
lazy val
renderString: String
Generates a String rendering of this object
Generates a String rendering of this object
- Definition Classes
- ResponseCookie → Renderable
- val secure: Boolean
-
def
toString(): String
- Definition Classes
- Renderable → Any