c

play.api.mvc

DiscardingCookie

case class DiscardingCookie(name: String, path: String = "/", domain: Option[String] = None, secure: Boolean = false, sameSite: Option[SameSite] = None) extends Product with Serializable

A cookie to be discarded. This contains only the data necessary for discarding a cookie.

name

the name of the cookie to discard

path

the path of the cookie, defaults to the root path

domain

the cookie domain

secure

whether this cookie is secured

Source
Cookie.scala
Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DiscardingCookie
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new DiscardingCookie(name: String, path: String = "/", domain: Option[String] = None, secure: Boolean = false, sameSite: Option[SameSite] = None)

    name

    the name of the cookie to discard

    path

    the path of the cookie, defaults to the root path

    domain

    the cookie domain

    secure

    whether this cookie is secured

Value Members

  1. val domain: Option[String]
  2. val name: String
  3. val path: String
  4. def productElementNames: Iterator[String]
    Definition Classes
    Product
  5. val sameSite: Option[SameSite]
  6. val secure: Boolean
  7. def toCookie: Cookie