public class TwitterStreamChannelAdapter extends AbstractTwitterInboundChannelAdapter
| Modifier and Type | Class and Description |
|---|---|
static class |
TwitterStreamChannelAdapter.FilterLevel |
AbstractTwitterInboundChannelAdapter.StreamReadingTask| Constructor and Description |
|---|
TwitterStreamChannelAdapter(org.springframework.social.twitter.api.impl.TwitterTemplate twitter) |
| Modifier and Type | Method and Description |
|---|---|
protected java.net.URI |
buildUri() |
protected void |
doSendLine(java.lang.String line) |
java.lang.String |
getComponentType() |
void |
setDelimited(boolean delimited)
Whether "delimited=length" shoud be added to the query.
|
void |
setFilterLevel(TwitterStreamChannelAdapter.FilterLevel filterLevel)
One of "none", "low" or "medium"
|
void |
setFollow(java.lang.String follow)
Restrict the stream to a user or users.
|
void |
setLocations(java.lang.String locations)
Bound the returned tweets by location(s).
|
void |
setStallWarnings(boolean stallWarnings)
Whether "stall_warnings=true" should be added to the query.
|
void |
setTrack(java.lang.String track)
Filter tweets by words or phrases.
|
doStart, doStop, getLanguage, onInit, setConnectTimeout, setLanguage, setReadTimeout, waitgetMessagingTemplate, sendMessage, setErrorChannel, setOutputChannel, setSendTimeout, setShouldTrackdoStop, getPhase, isAutoStartup, isRunning, setAutoStartup, setPhase, setTaskScheduler, start, stop, stopafterPropertiesSet, extractTypeIfPossible, getApplicationContext, getApplicationContextId, getBeanFactory, getChannelResolver, getComponentName, getConversionService, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, setMessageBuilderFactory, toStringpublic TwitterStreamChannelAdapter(org.springframework.social.twitter.api.impl.TwitterTemplate twitter)
public void setDelimited(boolean delimited)
public void setStallWarnings(boolean stallWarnings)
public void setFilterLevel(TwitterStreamChannelAdapter.FilterLevel filterLevel)
public void setTrack(java.lang.String track)
public void setFollow(java.lang.String follow)
public void setLocations(java.lang.String locations)
public java.lang.String getComponentType()
getComponentType in interface org.springframework.integration.support.context.NamedComponentgetComponentType in class org.springframework.integration.context.IntegrationObjectSupportprotected java.net.URI buildUri()
buildUri in class AbstractTwitterInboundChannelAdapterprotected void doSendLine(java.lang.String line)
doSendLine in class AbstractTwitterInboundChannelAdapter