16 lines
481 B
ReStructuredText
16 lines
481 B
ReStructuredText
|
|
.. _-setCookie-java-:
|
||
|
|
|
||
|
|
setCookie
|
||
|
|
=========
|
||
|
|
|
||
|
|
Description
|
||
|
|
-----------
|
||
|
|
Adds a header to the response to request the update of the cookie with the given name on the client.
|
||
|
|
|
||
|
|
Use the :ref:`-deleteCookie-java-` directive to delete a cookie.
|
||
|
|
|
||
|
|
|
||
|
|
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 <https://github.com/akka/akka/issues/20466>`_.
|