Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-1904

Allow resource methods to stream Iterables over application/x-general-stream streaming mode

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 3.6.3.Final
    • None
    • None

      Currently, resource methods can stream Flowables and Observables to the client. This extension would allow them to stream synchronously created Iterables such as Lists as well. For example,

         @GET
         @Path("get/list")
         @Produces("application/json")
         @Stream
         public List<String> getList() {
            ...
         }
      

              rsigal@redhat.com Ronald Sigal
              rsigal@redhat.com Ronald Sigal
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: