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

WrappedMessageContext containsKey not consistent with get/put

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.2.7, 3.1.18, 3.3.0
    • None
    • None
    • Unknown

    Description

      In WrappedMessageContext.get() and put() some extra key translations happen, that are not applied in WrappedMessageContext.containsKey().

      For example MessageContext.HTTP_REQUEST_HEADERS is translated to Message.PROTOCOL_HEADERS here, but not in containsKey().

      So context.get(MessageContext.HTTP_REQUEST_HEADERS) may return a map with headers, while context.containsKey(MessageContext.HTTP_REQUEST_HEADERS) returns false.

      Attachments

        Issue Links

          Activity

            People

              ffang Freeman Yue Fang
              jpraet Jimmy Praet
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: