• Post Reply Bookmark Topic Watch Topic
  • New Topic

Request attributes are thread safe

 
Raj Kumar Bindal
Ranch Hand
Posts: 418
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have read earlier posts relating to this.I still have one doubt.
We can't say that session attributes are always thread safe,then how can we say that request attributes are always thread safe.
Please clarify.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65518
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Because no more than one thread (unless you do something overt) has a reference to the request instance at a time.
 
Raj Kumar Bindal
Ranch Hand
Posts: 418
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Bear
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!