-
I've noticed that this particular part in 2.7.x:
But it has been removed since 2.8.x. Does this means PlayJava doesn't use ThreadLocal to find out about contextual information anymore? What does it use? It seems this PR removes that part: 00eccef |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Exactly, since Play 2.8 ThreadLocal is not used anymore.
Instead, the information that is needed needs to be passed on as parameters. (So what's new is that you can pass the current http request on to action methods). For further explanation and examples please see: https://www.playframework.com/documentation/latest/JavaHttpContextMigration27 |
Beta Was this translation helpful? Give feedback.
Exactly, since Play 2.8 ThreadLocal is not used anymore.
Instead, the information that is needed needs to be passed on as parameters. (So what's new is that you can pass the current http request on to action methods).
For further explanation and examples please see: https://www.playframework.com/documentation/latest/JavaHttpContextMigration27