Streaming Response
Learn Streaming Response (Performance Optimization, Spring MVC) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.
Fresher Notes Streaming response : the server writes the body in pieces as data becomes available, instead of building it all in memory first. Types : StreamingResponseBody , ResponseBodyEmitter , SseEmitter and a Resource for files. Benefit : large exports and downloads use little memory, and the client starts receiving data early.