requestscope Questions

2

Solved

It is working as far as I tested. But I do not get it why and how it works.(Also I am not sure it is safe to use in production) Here is my testCode @Service public class SomeService { private sta...
Nagel asked 14/6, 2021 at 1:13

2

Solved

I'm using a Java8/Spring Boot 2 application. I want to inject a request-scoped bean into a singleton bean. The official documentation highlights that either a proxy or ObjectFactory/Provider should...
Had asked 20/5, 2019 at 8:48

1

Solved

Is there a possibility to use thread static like variables within a single request? The current code uses a thread static variable for logging purposes and now we want to use async controller metho...
1

© 2022 - 2024 — McMap. All rights reserved.