cookie
Description
Extracts a cookie with a given name from a request or otherwise rejects the request with a MissingCookieRejection
if
the cookie is missing.
Use the optionalCookie directive instead if you want to support missing cookies in your inner route.
Example
TODO: Example snippets for JavaDSL are subject to community contributions! Help us complete the docs, read more about it here: write example snippets for Akka HTTP Java DSL #20466.
Contents