Uses of Interface
org.springframework.messaging.converter.MessageConverter
Packages that use MessageConverter Package Description org.springframework.messaging.converter Provides support for message conversion.org.springframework.messaging.core Defines interfaces and implementation classes for messaging templates.org.springframework.messaging.handler.annotation.support Support classes for working with annotated message-handling methods.org.springframework.messaging.simp.annotation.support Support classes for handling messages from simple messaging protocols (like STOMP).org.springframework.messaging.simp.config Configuration support for WebSocket messaging using higher level messaging protocols.org.springframework.messaging.simp.stomp Generic support for simple messaging protocols (like STOMP).org.springframework.web.socket.config.annotation Support for annotation-based WebSocket setup in configuration classes.Uses of MessageConverter in org.springframework.messaging.converter
Subinterfaces of MessageConverter in org.springframework.messaging.converter Modifier and Type Interface Description interfaceSmartMessageConverterAn extendedMessageConverterSPI with conversion hint support.Classes in org.springframework.messaging.converter that implement MessageConverter Modifier and Type Class Description classAbstractMessageConverterAbstract base class forSmartMessageConverterimplementations including support for common properties and a partial implementation of the conversion methods, mainly to check if the converter supports the conversion based on the payload class and MIME type.classByteArrayMessageConverterAMessageConverterthat supports MIME type "application/octet-stream" with the payload converted to and from a byte[].classCompositeMessageConverterAMessageConverterthat delegates to a list of registered converters to be invoked until one of them returns a non-null result.classGenericMessageConverterAn extension of theSimpleMessageConverterthat uses aConversionServiceto convert the payload of the message to the requested type.classMappingJackson2MessageConverterA Jackson 2 basedMessageConverterimplementation.classMarshallingMessageConverterImplementation ofMessageConverterthat can read and write XML using Spring'sMarshallerandUnmarshallerabstractions.classProtobufJsonFormatMessageConverterSubclass ofProtobufMessageConverterfor use with the official"com.google.protobuf:protobuf-java-util"library for JSON support.classProtobufMessageConverterAnMessageConverterthat reads and writescom.google.protobuf.Messagesusing Google Protocol Buffers.classSimpleMessageConverterA simple converter that simply unwraps the message payload as long as it matches the expected target class.classStringMessageConverterAMessageConverterthat supports MIME type "text/plain" with the payload converted to and from a String.Methods in org.springframework.messaging.converter that return types with arguments of type MessageConverter Modifier and Type Method Description List<MessageConverter>CompositeMessageConverter. getConverters()Return the underlying list of delegate converters.Constructor parameters in org.springframework.messaging.converter with type arguments of type MessageConverter Constructor Description CompositeMessageConverter(Collection<MessageConverter> converters)Create an instance with the given converters.Uses of MessageConverter in org.springframework.messaging.core
Methods in org.springframework.messaging.core that return MessageConverter Modifier and Type Method Description MessageConverterAbstractMessageSendingTemplate. getMessageConverter()Return the configuredMessageConverter.Methods in org.springframework.messaging.core with parameters of type MessageConverter Modifier and Type Method Description voidAbstractMessageSendingTemplate. setMessageConverter(MessageConverter messageConverter)Set theMessageConverterto use inconvertAndSendmethods.Uses of MessageConverter in org.springframework.messaging.handler.annotation.support
Methods in org.springframework.messaging.handler.annotation.support with parameters of type MessageConverter Modifier and Type Method Description voidDefaultMessageHandlerMethodFactory. setMessageConverter(MessageConverter messageConverter)Set theMessageConverterto use.Constructors in org.springframework.messaging.handler.annotation.support with parameters of type MessageConverter Constructor Description MessageMethodArgumentResolver(MessageConverter converter)Create a resolver instance with the givenMessageConverter.PayloadArgumentResolver(MessageConverter messageConverter)Deprecated.Create a newPayloadArgumentResolverwith the givenMessageConverter.PayloadArgumentResolver(MessageConverter messageConverter, Validator validator)Deprecated.PayloadArgumentResolver(MessageConverter messageConverter, Validator validator, boolean useDefaultResolution)Deprecated.PayloadMethodArgumentResolver(MessageConverter messageConverter)Create a newPayloadArgumentResolverwith the givenMessageConverter.PayloadMethodArgumentResolver(MessageConverter messageConverter, Validator validator)PayloadMethodArgumentResolver(MessageConverter messageConverter, Validator validator, boolean useDefaultResolution)Uses of MessageConverter in org.springframework.messaging.simp.annotation.support
Methods in org.springframework.messaging.simp.annotation.support that return MessageConverter Modifier and Type Method Description MessageConverterSimpAnnotationMethodMessageHandler. getMessageConverter()Return the configuredMessageConverter.Methods in org.springframework.messaging.simp.annotation.support with parameters of type MessageConverter Modifier and Type Method Description voidSimpAnnotationMethodMessageHandler. setMessageConverter(MessageConverter converter)Configure aMessageConverterto use to convert the payload of a message from its serialized form with a specific MIME type to an Object matching the target method parameter.Uses of MessageConverter in org.springframework.messaging.simp.config
Method parameters in org.springframework.messaging.simp.config with type arguments of type MessageConverter Modifier and Type Method Description protected booleanAbstractMessageBrokerConfiguration. configureMessageConverters(List<MessageConverter> messageConverters)Override this method to add custom message converters.Uses of MessageConverter in org.springframework.messaging.simp.stomp
Methods in org.springframework.messaging.simp.stomp that return MessageConverter Modifier and Type Method Description MessageConverterDefaultStompSession. getMessageConverter()Return the configuredMessageConverter.MessageConverterStompClientSupport. getMessageConverter()Return the configuredMessageConverter.Methods in org.springframework.messaging.simp.stomp with parameters of type MessageConverter Modifier and Type Method Description voidDefaultStompSession. setMessageConverter(MessageConverter messageConverter)Set theMessageConverterto use to convert the payload of incoming and outgoing messages to and frombyte[]based on object type, or expected object type, and the "content-type" header.voidStompClientSupport. setMessageConverter(MessageConverter messageConverter)Set theMessageConverterto use to convert the payload of incoming and outgoing messages to and frombyte[]based on object type and the "content-type" header.Uses of MessageConverter in org.springframework.web.socket.config.annotation
Method parameters in org.springframework.web.socket.config.annotation with type arguments of type MessageConverter Modifier and Type Method Description booleanAbstractWebSocketMessageBrokerConfigurer. configureMessageConverters(List<MessageConverter> messageConverters)Deprecated.protected booleanDelegatingWebSocketMessageBrokerConfiguration. configureMessageConverters(List<MessageConverter> messageConverters)default booleanWebSocketMessageBrokerConfigurer. configureMessageConverters(List<MessageConverter> messageConverters)Configure the message converters to use when extracting the payload of messages in annotated methods and when sending messages (e.g.