Streaming to Java Play

java
(Clarizen) #1

Here is an example of how to stream response. In my case i need to stream a request. Client has a large data that it wants to stream to the server. Any ideas how can it be achieved for Java Play?

(Tim Moore) #2

Handling file uploads is described in the documentation here:

https://www.playframework.com/documentation/2.7.x/JavaFileUpload

Lower-level handling of streaming content is covered in the documentation on custom body parsers:

https://www.playframework.com/documentation/2.7.x/JavaBodyParsers

I hope that gets you pointed in the right direction!