Method-scope variables are thread-confined and not shared across requests.
Variables declared within a method reside in the stack of the thread that executes the method, making them isolated and safe. For instance, calculating the total price in a method using local variables in a checkout service prevents data leakage between user sessions.
Additional Notes
Why is method-scope variable usage safe in a Singleton bean?