Packages

c

org.http4s

ResponseCookie

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
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ResponseCookie
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Renderable
  7. AnyRef
  8. 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 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

  1. def clearCookie: Set-Cookie
  2. val content: String
  3. val domain: Option[String]
  4. val expires: Option[HttpDate]
  5. val extension: Option[String]
  6. val httpOnly: Boolean
  7. val maxAge: Option[Long]
  8. val name: String
  9. val path: Option[String]
  10. def render(writer: Writer): writer.type

    Base method for rendering this object efficiently

    Base method for rendering this object efficiently

    Definition Classes
    ResponseCookieRenderable
  11. lazy val renderString: String

    Generates a String rendering of this object

    Generates a String rendering of this object

    Definition Classes
    ResponseCookieRenderable
  12. val secure: Boolean
  13. def toString(): String
    Definition Classes
    Renderable → Any