Is HTTPBuilder in a secure Grails stream?
If HTTPBuilder is connected to the Grails service class, will it be safe to use? Or should it be created with every call?
There seems to be no concrete answer as to whether the HTTPBuilder in Grails is thread safe or not. I tend to go with an unsafe flow due to the lack of documentation on this particular aspect, but I would like to get a definitive answer.
The code seems to indicate that it should be good to handle multiple requests from multiple threads if they go through the same URL with the same context (headers, authenticators, etc.).
source
share