Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

AsyncHttpClient.BoundRequestBuilder reqBuilder  RSS feed

 
Jacob Sonia
Ranch Hand
Posts: 183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I created a threadsafe async client using a factory.
I create a request builder after that and set header and url.
should i use factory to invoke the boundrequestbuilder, for reference here is the code:


Here is the code for creating threadsafe async client
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!