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

WrappedMessageContext containsKey not consistent with get/put

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.7, 3.1.18, 3.3.0
    • Component/s: None
    • Labels:
      None
    • Estimated Complexity:
      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

          Activity

            People

            • Assignee:
              ffang Freeman Yue Fang
              Reporter:
              jpraet Jimmy Praet

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment