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

    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

          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: