...
- Authentication - twitter4j handled the oauth handshaking and tokens with no involvement by streams. we will need to replicate that. basic auth alone won't cut it.
- DateTimes - twitter4j gives streams strings, which streams converts to pojos with jackson. might get better performance embedding the Joda handling into a parser.
- Interfaces - twitter4j gave us sensible java methods to call to talk to twitter. we should try to replicate that by defining interfaces for each endpoint and implementing each in a remotable proxy
- Additional Properties - we've historically built all pojos in streams with additionalProperties = true. the juneau serializer doesn't treat this map specially the way jackson does. perhaps this module should disable it.
- Retries - we have a nasty mess of error handling code, that we could potentially replace with retryable
...
- by using retryable and in necessary a custom interceptor with delays in onRetry
References
https://twittercommunity.com/t/solved-java-oauth-request-token-flow-example-without-libraries/1440