Twitter4J

introduce more flexible configuration scheme, make Twitter class immutable

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Blocker Blocker
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 2.1.0
  • Component/s: Core
  • Labels:
    None

Description

Remove setters from Twitter class as much as possible, and introduce a Configuration interface that has
- baseurls
- timeout settings, and such

And possibly introduce a static Factory method?

Issue Links

Activity

Hide
Yusuke Yamamoto added a comment -
Make Configuration an interface.
Migrate http related setter method from Twitter to Configuration.
Make HttpClient instance a singleton class.
Introduce a Factory class.
Show
Yusuke Yamamoto added a comment - Make Configuration an interface. Migrate http related setter method from Twitter to Configuration. Make HttpClient instance a singleton class. Introduce a Factory class.
Hide
Yusuke Yamamoto added a comment -
Introduced TwitterFactory, AsyncTwitterFactory and TwitterStreamFactory
Show
Yusuke Yamamoto added a comment - Introduced TwitterFactory, AsyncTwitterFactory and TwitterStreamFactory

People

Vote (0)
Watch (0)

Dates

  • Due:
    Created:
    Updated:
    Resolved: