Class DefaultMetadataExtractor

java.lang.Object
org.springframework.messaging.rsocket.DefaultMetadataExtractor
All Implemented Interfaces:
MetadataExtractor, MetadataExtractorRegistry

public class DefaultMetadataExtractor extends Object implements MetadataExtractor, MetadataExtractorRegistry
Default MetadataExtractor implementation that relies on Decoders to deserialize the content of metadata entries.

By default only "message/x.rsocket.routing.v0" is extracted and saved under MetadataExtractor.ROUTE_KEY. Use metadataToExtract methods to specify other metadata mime types of interest to extract.

Since:
5.2
Author:
Rossen Stoyanchev