[
https://issues.apache.org/jira/browse/BEAM-1946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15976190#comment-15976190
]
Reza Nouri commented on BEAM-1946:
----------------------------------
[~jbonofre], thanks for providing this feature. I have been waiting for this.
I am not sure about your plan to achieve this, but it will be great if you
could consider streaming input/output if you haven't already. For example,
Jersey offers a facility for sending response to the client in multiple
more-or-less independent chunks using a chunked output. You can find more
information in the following links:
https://jersey.java.net/apidocs/2.25.1/jersey/org/glassfish/jersey/server/ChunkedOutput.html
https://jersey.java.net/apidocs/2.7/jersey/javax/ws/rs/core/StreamingOutput.html
I think CXF supports this too:
http://cxf.apache.org/docs/jax-rs-basics.html#JAX-RSBasics-CXFStreamingResponse
It helps handling the situations where the response is large.
> Add IO module for restful api
> -----------------------------
>
> Key: BEAM-1946
> URL: https://issues.apache.org/jira/browse/BEAM-1946
> Project: Beam
> Issue Type: New Feature
> Components: sdk-java-extensions
> Reporter: JiJun Tang
> Assignee: Jean-Baptiste Onofré
> Labels: IO, features, restful
>
> Create a RestIO for read or write data by resful api.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)