Skip to content

Add SimpleHeaderMapper implementation [INT-1439] #5424

Open
@spring-operator

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions