public class UserStreamParameters extends Object
Modifier and Type | Class and Description |
---|---|
static class |
UserStreamParameters.WithOptions |
Modifier and Type | Field and Description |
---|---|
protected StringBuffer |
locations |
protected boolean |
stallWarnings |
protected StringBuffer |
track |
Constructor and Description |
---|
UserStreamParameters() |
Modifier and Type | Method and Description |
---|---|
org.springframework.social.twitter.api.AbstractStreamParameters |
addLocation(float west,
float south,
float east,
float north)
Add a location to the filter
Does not replace any existing locations in the filter.
|
String |
getLocationsParameterValue() |
String |
getTrackParameterValue() |
UserStreamParameters |
includeReplies(boolean includeReplies)
Specify whether or not replies should be included in stream.
|
org.springframework.social.twitter.api.AbstractStreamParameters |
stallWarnings(boolean stallWarnings) |
MultiValueMap<String,String> |
toParameterMap() |
org.springframework.social.twitter.api.AbstractStreamParameters |
track(String track)
Add tracking keywords to the filter.
|
UserStreamParameters |
with(UserStreamParameters.WithOptions with) |
protected StringBuffer track
protected StringBuffer locations
protected boolean stallWarnings
public UserStreamParameters with(UserStreamParameters.WithOptions with)
public UserStreamParameters includeReplies(boolean includeReplies)
includeReplies
- true to include replies to followed users, false to only include replies to authenticated user.public MultiValueMap<String,String> toParameterMap()
public org.springframework.social.twitter.api.AbstractStreamParameters track(String track)
track
- the keywords to track.public org.springframework.social.twitter.api.AbstractStreamParameters addLocation(float west, float south, float east, float north)
west
- the longitude of the western side of the location's bounding box.south
- the latitude of the southern side of the location's bounding box.east
- the longitude of the eastern side of the location's bounding box.north
- the latitude of the northern side of the location's bounding box.public org.springframework.social.twitter.api.AbstractStreamParameters stallWarnings(boolean stallWarnings)
public String getTrackParameterValue()
public String getLocationsParameterValue()