Package twitter4j

Interface Summary
AccountSettings  
AccountTotals  
AsyncTwitter  
Category  
ConnectionLifeCycleListener  
CursorSupport  
DirectMessage A data interface representing sent/received direct message.
Friendship  
HashtagEntity A data interface representing one single Hashtag entity.
IDs A data interface representing array of numeric IDs.
Location  
PagableResponseList<T extends TwitterResponse> ResponseList with cursor support.
Place  
ProfileImage  
QueryResult A data interface representing search API response
RateLimitStatus A data interface representing Twitter REST API's rate limit status
RateLimitStatusListener  
RelatedResults  
Relationship A data interface that has detailed information about a relationship between two users
ResponseList<T> List of TwitterResponse.
SavedSearch A data interface representing a Saved Search
SimilarPlaces  
SiteStreamsListener  
Status A data interface representing one single status of a user.
StatusDeletionNotice A data class representing Status deletionNotice
Clients are urged to honor deletionNotice requests and discard deleted statuses immediately.
StatusListener  
StatusStream  
StreamImplementation  
StreamListener  
Trend A data interface representing Trend.
Trends A data class representing Trends.
Tweet A data class representing a Tweet in the search response
Twitter  
TwitterBase  
TwitterListener A listner for receiving asynchronous responses from Twitter Async APIs.
TwitterResponse Super interface of Twitter Response data interfaces which indicates that rate limit status is avaialble.
TwitterStream  
URLEntity A data interface representing one single URL entity.
User A data interface representing Basic user information element
UserList A data interface representing Basic list information element
UserMentionEntity A data interface representing one single user mention entity.
UserStream  
UserStreamListener  
 

Class Summary
AbstractStreamImplementation  
AccountSettingsJSONImpl  
AccountTotalsJSONImpl  
Annotation A data class representing an Annotation of a Status or a Tweet
Annotations A data class representing the Annotations of a Status or a Tweet
AsyncTwitterFactory A factory class for AsyncTwitter.
An instance of this class is completely thread safe and can be re-used and used concurrently.
Note that currently AsyncTwitter is NOT compatible with Google App Engine as it is maintaining threads internally.
AsyncTwitterImpl Twitter API with a series of asynchronous APIs.
With this class, you can call TwitterAPI asynchronously.
Note that currently this class is NOT compatible with Google App Engine as it is maintaining threads internally.
Currently this class is not carefully designed to be extended.
CategoryJSONImpl  
DirectMessageJSONImpl A data class representing sent/received direct message.
ExceptionDiagnosis  
FilterQuery  
FriendshipJSONImpl  
GeoLocation A data class representing geo location.
GeoQuery  
HashtagEntityJSONImpl A data class representing one single Hashtag entity.
IDsJSONImpl A data class representing array of numeric IDs.
LocationJSONImpl  
PagableResponseListImpl<T>  
Paging Controls pagination.
It is possible to use the same Paging instance in a multi-threaded context only if the instance is treated immutably.
But basically instance of this class is NOT thread safe.
PlaceJSONImpl  
ProfileImage.ImageSize  
ProfileImageImpl  
Query A data class represents search query.
An instance of this class is NOT thread safe.
Instances can be shared across threads, but should not be mutated while a search is ongoing.
QueryResultJSONImpl A data class representing search API response
RateLimitStatusEvent A data interface representing Twitter REST API's rate limit status
RateLimitStatusJSONImpl A data class representing Twitter REST API's rate limit status
RelatedResultsJSONImpl A data class representing related_results API response
RelationshipJSONImpl A data class that has detailed information about a relationship between two users
ResponseListImpl<T>  
SavedSearchJSONImpl A data class representing a Saved Search
SimilarPlacesImpl  
SiteStreamsAdapter  
SiteStreamsImpl  
StatusAdapter  
StatusDeletionNoticeImpl StatusDeletionNotice implementation.
StatusJSONImpl A data class representing one single status of a user.
StatusStreamImpl StatusStream implementation.
StatusUpdate  
StreamingReadTimeoutConfiguration  
TrendJSONImpl A data class representing Trend.
TrendsJSONImpl A data class representing Trends.
TweetJSONImpl A data class representing a Tweet in the search response
TwitterAdapter A handy adapter of TwitterListener.
TwitterBaseImpl Base class of Twitter / AsyncTwitter / TwitterStream supports OAuth.
TwitterFactory A factory class for Twitter.
TwitterImpl A java representation of the Twitter API
This class is thread safe and can be cached/re-used and used concurrently.
Currently this class is not carefully designed to be extended.
TwitterMethod  
TwitterResponseImpl Super interface of Twitter Response data interfaces which indicates that rate limit status is avaialble.
TwitterStreamFactory A factory class for TwitterFactory.
An instance of this class is completely thread safe and can be re-used and used concurrently.
Note that TwitterStream is NOT compatible with Google App Engine as GAE is not capable of handling requests longer than 30 seconds.
TwitterStreamImpl A java representation of the Streaming API: Methods
Note that this class is NOT compatible with Google App Engine as GAE is not capable of handling requests longer than 30 seconds.
URLEntityJSONImpl A data class representing one single URL entity.
UserJSONImpl A data class representing Basic user information element
UserListJSONImpl A data class representing Basic list information element
UserMentionEntityJSONImpl A data interface representing one single user mention entity.
UserStreamAdapter  
UserStreamImpl  
Version  
VersionAsync  
VersionStream  
 

Exception Summary
TwitterException An exception class that will be thrown when TwitterAPI calls are failed.
In case the Twitter server returned HTTP error code, you can get the HTTP status code using getStatusCode() method.