org.apache.pekko.http.scaladsl.server.directives.CookieDirectives
See theCookieDirectives companion object
Attributes
-
Companion
-
object
-
Source
-
CookieDirectives.scala
-
Graph
-
-
Supertypes
-
trait Matchable
class Any
-
Known subtypes
-
Members list
Cookie directives
Extracts the HttpCookiePair with the given name. If the cookie is not present the request is rejected with a respective MissingCookieRejection.
Adds a Set-Cookie response header expiring the given cookies.
Adds a Set-Cookie response header expiring the cookie with the given properties.
Adds a Set-Cookie response header expiring the cookie with the given properties.
Attributes
-
Source
-
CookieDirectives.scala
Extracts the HttpCookiePair with the given name as an Option[HttpCookiePair]. If the cookie is not present a value of None is extracted.
Extracts the HttpCookiePair with the given name as an Option[HttpCookiePair]. If the cookie is not present a value of None is extracted.
Attributes
-
Source
-
CookieDirectives.scala
Adds a Set-Cookie response header with the given cookies.