Spring Integration

org.springframework.integration.twitter
Class StatusUpdateSupport

java.lang.Object
  extended by org.springframework.integration.twitter.StatusUpdateSupport

public class StatusUpdateSupport
extends Object

Convenience class that can take a seemingly disparate jumble of headers and a payload and do a best-faith attempt at vending a StatusUpdate instance

Since:
2.0
Author:
Josh Long
See Also:
StatusUpdate, TwitterHeaders

Constructor Summary
StatusUpdateSupport()
           
 
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

StatusUpdateSupport

public StatusUpdateSupport()
Method Detail

fromMessage

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

Parameters:
message - the inbound messages
Returns:
a StatusUpdate that's been materialized from the inbound message
Throws:
Throwable - thrown if something goes wrong

Spring Integration

Copyright © 2010. All Rights Reserved.