org.springframework.integration.twitter
Class StatusUpdateSupport
java.lang.Object
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
|
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 |
StatusUpdateSupport
public StatusUpdateSupport()
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
Copyright © 2010. All Rights Reserved.