public class NettyInboundMessageConverter
extends java.lang.Object
implements org.springframework.messaging.converter.MessageConverter
Constructor and Description |
---|
NettyInboundMessageConverter() |
NettyInboundMessageConverter(org.springframework.integration.support.MessageBuilderFactory messageBuilderFactory) |
Modifier and Type | Method and Description |
---|---|
protected void |
addHeaders(java.util.Map<java.lang.String,java.lang.String> messageHeaders,
org.jboss.netty.handler.codec.http.HttpRequest request)
Add additional headers.
|
java.lang.Object |
fromMessage(org.springframework.messaging.Message<?> message,
java.lang.Class<?> targetClass) |
org.springframework.messaging.Message<?> |
toMessage(java.lang.Object payload,
org.springframework.messaging.MessageHeaders header) |
public NettyInboundMessageConverter()
public NettyInboundMessageConverter(org.springframework.integration.support.MessageBuilderFactory messageBuilderFactory)
public java.lang.Object fromMessage(org.springframework.messaging.Message<?> message, java.lang.Class<?> targetClass)
fromMessage
in interface org.springframework.messaging.converter.MessageConverter
public org.springframework.messaging.Message<?> toMessage(java.lang.Object payload, org.springframework.messaging.MessageHeaders header)
toMessage
in interface org.springframework.messaging.converter.MessageConverter
protected void addHeaders(java.util.Map<java.lang.String,java.lang.String> messageHeaders, org.jboss.netty.handler.codec.http.HttpRequest request)
messageHeaders
- The headers that will be added to the message.request
- The HttpRequest