!htp,java #20592 javadsl complete* should take Marshaller[...,RequestEntity] (#20593)

This commit is contained in:
Konrad Malawski 2016-05-24 15:20:28 +02:00
parent 31de5952b0
commit a299b30c0b
4 changed files with 62 additions and 25 deletions

View file

@ -54,6 +54,13 @@ pattern from blogs which used Scala, yet need to apply it in Java and the other
It is now possible to implement marshallers using Java. Refer to :ref:`marshalling-java` for details.
Some complete* overloads changed to completeOK*
-----------------------------------------------
In JavaDSL when complete is called with only an entity, the ``OK`` response code is *assumed*,
to make this more explicit these methods contain the word ``OK`` in them.
This has been made more consistent than previously, across all overloads and Future-versions of these APIs.
Migration help
--------------
As always, feel free to reach out via the `akka-user <https://groups.google.com/forum/#!searchin/akka-user/>`_ mailing list or gitter channels,