Question

Java SDK: RestClient Thread Safe?

  • 4 June 2019
  • 0 replies
  • 541 views

I'm currently using a Singleton of the RestClient for all RingCentral requests. I did this after having issues instantiating and authentication a RestClient for each request:

https://forums.developers.ringcentral.com/questions/7503/java-sdk-subscription-refresh-causing-401-error.html

Is this an acceptable approach? If not, is there a recommended pattern to follow for server applications?


0 replies

Be the first to reply!

Reply