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

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

    XMLWordPrintable

Details

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

    Description

      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() {
            ...
         }
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: