Skip to content

Add SimpleHeaderMapper implementation [INT-1439] #5424

Open

Description

@spring-operator

Mark Fisher opened INT-1439 and commented

This implementation of HeaderMapper can be used for any case where the source/target type is simply a Map instance, e.g.:

public class SimpleHeaderMapper implements HeaderMapper<Map> {

   // something like this (and an inbound version)
   // see DefaultHttpHeaderMapper as an example
   public void setOutboundHeaderNames(String[] outboundHeaderNames) {

}

We would also need to support wildcard matching on the map keys, eg:

<something mapped-inbound-headers="foo, x-*"/>

For cases where we want to allow a Map of String keys and Expression values, we might want to add a new implementation, such as ExpressionEvaluatingHeaderMapper.


No further details from INT-1439

Activity

  1. spring-operator commented on Aug 4, 2011

    @spring-operator
    ContributorAuthor

    Oleg Zhurakousky commented

    Does not seem to be an essential feature. Set for 2.2

  2. spring-operator commented on Feb 21, 2012

    @spring-operator
    ContributorAuthor

    Mark Fisher commented

    moving to M2 - may be irrelevant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions