Understanding How Scope Affects Values in Your Spring REST Controller

czetsuya
Mar 2, 2024

Below we explore how a scope annotation affects an instance value in a Spring REST controller.

Each controller is annotated with scope.

@RestController
@Scope([SCOPE_VALUE])
public class XXXScopeController {}

--

--

czetsuya

Open for Collaboration | Senior Java Backend Developer