CookieWithMeta

case class CookieWithMeta(name: String, valueWithMeta: CookieValueWithMeta)

A cookie name-value pair with directives.

All String values should be already encoded (if necessary), as when serialised, they end up unmodified in the header.

Companion:
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def domain: Option[String]
def domain(v: Option[String]): CookieWithMeta
def expires: Option[Instant]
def expires(v: Option[Instant]): CookieWithMeta
def httpOnly: Boolean
def httpOnly(v: Boolean): CookieWithMeta
def maxAge: Option[Long]
def maxAge(v: Option[Long]): CookieWithMeta
def otherDirective(v: (String, Option[String])): CookieWithMeta
def otherDirectives: Map[String, Option[String]]
def path: Option[String]
def path(v: Option[String]): CookieWithMeta
def sameSite: Option[SameSite]
def secure: Boolean
def secure(v: Boolean): CookieWithMeta
override def toString: String
Returns:

Representation of the cookie as in a header value, in the format: [name]=[value]; [directive]=[value]; ....

Definition Classes
Any
def value: String
def value(v: String): CookieWithMeta

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product