Uploaded image for project: 'Spring Web Services'
  1. Spring Web Services
  2. SWS-894

Unified access to headers for WebServiceConnections

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 2.2.1
    • Fix Version/s: None
    • Component/s: Core
    • Labels:
      None

      Description

      Currently when needing access to headers one needs to check the type of the WebServicConnection retrieve the HttpServletRequest and call getHeader on the resulting object.

      We use both HTTP and JMS in our application and some of our interceptors are containing if statements to determine if it is HTTP or JMS and retrieve the headers appropriatly.

      Would be nice if a unified interface HeadersAwareWebServiceConnection comes to mind. This interface would then have a getHeader method to retrieve the header. Maybe some additional methods like headerNames or containsHeader might be useful as well.

      This would probably be useful for both HTTP flavors and JMS implementation of the WebServiceConnection.

        Attachments

          Activity

            People

            Assignee:
            gregturn Greg Turnquist
            Reporter:
            mdeinum Marten Deinum
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: