18 lines
566 B
ReStructuredText
18 lines
566 B
ReStructuredText
.. _-mapResponseHeaders-java-:
|
|
|
|
mapResponseHeaders
|
|
==================
|
|
|
|
Description
|
|
-----------
|
|
Changes the list of response headers that was generated by the inner route.
|
|
|
|
The ``mapResponseHeaders`` directive is used as a building block for :ref:`Custom Directives-java` to transform the list of
|
|
response headers that was generated by the inner route.
|
|
|
|
See :ref:`Response Transforming Directives-java` for similar directives.
|
|
|
|
Example
|
|
-------
|
|
|
|
.. includecode:: ../../../../code/docs/http/javadsl/server/directives/BasicDirectivesExamplesTest.java#mapResponseHeaders
|