RequestScope
RequestScope is a lifecycle used by dependency injection containers to bind the lifetime of certain objects to a single HTTP request. An instance defined as request-scoped is created when a request starts and is reused during that request; it is then released when the request ends.
Frameworks implement request scope in various ways. In Java, CDI provides @RequestScoped; in Spring, beans can
Common use cases include per-request caches, access to request parameters, user credentials verified for the duration
Limitations: request-scoped objects are not suitable for data that must survive beyond a single request or
Related concepts include session scope, which persists across multiple requests from the same user, and application