Use InputStream and StreamingOutput, where ever type "any" is used. The current solution with java.lang.Object doesn't allow a real handling of this situations.
Imagine:
body:
application/zip:
Even json and other types can be handled with InputStream, but not with Object.
The solution is just a one liner.
Use InputStream and StreamingOutput, where ever type "any" is used. The current solution with java.lang.Object doesn't allow a real handling of this situations.
Imagine:
Even json and other types can be handled with InputStream, but not with Object.