Concept Flow - ResponseEntity for full response control
Client sends HTTP request
Controller method called
Create ResponseEntity object
Set status code, headers, body
Return ResponseEntity to framework
Framework sends full HTTP response
Client receives full response
The client sends a request, the controller builds a ResponseEntity with status, headers, and body, then returns it. The framework sends this full response back to the client.