Q:

Spring create unique @Component for every POST request

Say I have a Spring validator that is annotated with @Component. This validator runs every time a POST request comes in. It is @Autowired in to the controller.
Problem here is that the validator is a singleton by default. It also contains a list storing any and all errors. Everytime this validator is called, the list is emptied.
My worry is that if multiple requests come in at the same time, this validator would break.
Is there anyway to still utilize the power of Spring Boot but make sure that everytime the @PostMapping is called, the instance gets a new fresh validator only for itself?

A:

Use 
@Component
@Scope(WebApplicationContext.SCOPE_REQUEST)

to ensure that for each Request an own component is created.
Or 
@RequestScope
@Component

