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

It is not possible to update Content-Type inside JAX-RS 2.0 ContainerRequestFilter

    XMLWordPrintableJSON

Details

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

    Description

      As I understand, it wasn't possible to update headers inside JAX-RS 2.0 ContainerRequestFilter.
      Is was fixed in this issue https://issues.apache.org/jira/browse/CXF-4986.

      But now update of Content-Type header inside of @PreMatching filter doesn't affect further processing -
      suitable MessageBodyReader is selected using initial Content-Type but not new one.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: