playframework / playframework/play-ws

Can play-ws handle stream response?

Open
#532 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Scala
Stars
224
Forks
92
Avg merge
1d 19h
Merged PRs (30d)
28

Description

could you guys give some examples to handle streaming response in non-play program?
THX.

previously I am using org.apache.http.HttpClient.getEntity to handle stream response , but it turns out wrong... entity is non-reentrant, so I am not able to iterate the response and get all of the results.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The request names no repository file, test, or entry point. Review the existing play-ws API documentation and examples to identify how streaming responses are supported outside Play, then document a runnable example that consumes the complete response; done means the example addresses the reported non-reentrant entity problem.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, scala
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.