org.springframework.integration.twitter.outbound
Class OutboundStatusUpdateMessageMapper

java.lang.Object
  extended by org.springframework.integration.twitter.outbound.OutboundStatusUpdateMessageMapper
All Implemented Interfaces:
OutboundMessageMapper<twitter4j.StatusUpdate>

public class OutboundStatusUpdateMessageMapper
extends java.lang.Object
implements OutboundMessageMapper<twitter4j.StatusUpdate>

Convenience class that maps headers and a payload to a StatusUpdate instance.

Since:
2.0
See Also:
StatusUpdate, TwitterHeaders

Constructor Summary
OutboundStatusUpdateMessageMapper()
           
 
Method Summary
 twitter4j.StatusUpdate fromMessage(Message<?> message)
          StatusUpdate instances are used to drive status updates.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutboundStatusUpdateMessageMapper

public OutboundStatusUpdateMessageMapper()
Method Detail

fromMessage

public twitter4j.StatusUpdate fromMessage(Message<?> message)
StatusUpdate instances are used to drive status updates.

Specified by:
fromMessage in interface OutboundMessageMapper<twitter4j.StatusUpdate>
Parameters:
message - the inbound messages
Returns:
a StatusUpdate that's been materialized from the inbound message