Skip to main content
Question

Java SDK: RestClient Thread Safe?


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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings