Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-5243

JAX-RS 2.0 ContainerRequestContext#getEntityStream() doesn't return request payload

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.7.6
    • 2.7.7, 3.0.0-milestone1
    • JAX-RS
    • None
    • Unknown

    Description

      Implementation of JAX-RS 2.0 ContainerRequestContext#getEntityStream() doesn't return request body.

      Probably, the reason is that this implementation tries to extract body using call m.get(InputStream.class), but should use call m.getContent(InputStream.class).

      I saw, that it was fixed in trunk several month ago, but it is not in any release now.

      Attachments

        Activity

          People

            sergey_beryozkin Sergey Beryozkin
            dmitry.treskunov Dmitry Treskunov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: