P
P
p-oleg2018-11-20 12:41:18
Java
p-oleg, 2018-11-20 12:41:18

Spring MVC - how to correctly create a "long" method with progress output?

Actually, the question is in the title ...
It is clear that it is necessary to implement in a separate thread.
Does Spring have regular funds for this or will you have to fence the bike?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
aol-nnov, 2018-11-20
@aol-nnov

StreamingResponseBody for example

A
alek_sys, 2018-11-21
@alek_sys

There are several ways, a good overview is here https://www.baeldung.com/spring-mvc-sse-streams
still not endless.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question