15 lines
377 B
ReStructuredText
15 lines
377 B
ReStructuredText
.. _-deleteCookie-java-:
|
|
|
|
deleteCookie
|
|
============
|
|
|
|
Description
|
|
-----------
|
|
Adds a header to the response to request the removal of the cookie with the given name on the client.
|
|
|
|
Use the :ref:`-setCookie-java-` directive to update a cookie.
|
|
|
|
Example
|
|
-------
|
|
|
|
.. includecode:: ../../../../code/docs/http/javadsl/server/directives/CookieDirectivesExamplesTest.java#deleteCookie
|