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

When registering a provider that implements MessageBodyReader and MessageBodyWriter interfaces through a Feature CXF ignores the interfaces in the contract and registers them all

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2.2
    • 3.2.2, 3.1.15
    • JAX-RS
    • None
    • Unknown

    Description

      when using

       

      javax.ws.rs.core.Configurable#register(java.lang.Object, MessageBodyReader.class)
      
      

      to register a provider that implements both MessageBodyReader and MessageBodyWriter, CXF ignores the specified contract and registers the provider for both MessageBodyReader and MessageBodyWriter, instead of only for MessageBodyReader.class.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            sergey_beryozkin Sergey Beryozkin
            csierra Carlos Sierra Andrés
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment