Twitter4J
  1. Twitter4J
  2. TFJ-231

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

            • Assignee:
              Yusuke Yamamoto
              Reporter:
              Yusuke Yamamoto
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: