Class TaggingHeaderConverter
-
- All Implemented Interfaces:
-
org.springframework.core.convert.converter.Converter
public final class TaggingHeaderConverter implements Converter<String, List<Tag>>
Converts values of the com.adobe.testing.s3mock.common.AwsHttpHeaders.X_AMZ_TAGGING which is sent by the Amazon client. Example: x-amz-tagging: tag1=value1&tag2=value2
It also converts XML tags into a list of Tag objects. Example: '<Tagging xmlns=\"http://s3.amazonaws.com/doc/2006-03-01/\"><TagSet><Tag><Key>k1</Key><Value>v1</Value></Tag><Tag><Key>k2</Key><Value>v2</Value></Tag></TagSet></Tagging>'
-
-
Constructor Summary
Constructors Constructor Description TaggingHeaderConverter(XmlMapper xmlMapper)
-