Questions tagged [streamingresponsebody]
19 questions
0
votes
1 answer
Not able to add response headers to RestTemplate streaming response
In my spring-boot application, I have a GET end-point. When we call this GET endpoint, the application is sending a GET request to another service with RestTemplate and returns the same response file as the response of the GET request. With the…

Manoj Lakshan
- 107
- 1
- 6
0
votes
1 answer
MessageBodyWriter not found StreamingBodyResponse
I am trying to make StreamResponseBody work with sample hardcoded data.
@POST
@Path("filetypecsv")
@Produces("text/plain")
public ResponseEntity studentsFile() {
String name = "name";
String rollNo = "rollNo";
…

KudmiSubba
- 59
- 2
- 9
0
votes
1 answer
Kotlin/Java Sending Gzip streaming response
I am trying to send a Response containing compressed (gzip) streamingOutput. My current code is :
@Path("/")
@Get
@Produces(MediaType.APPLICATION_JSON)
fun testRessource() : Response {
val streamingOutput = TestOutputStream()
val…

Gh0stm4chine
- 11
- 1
- 2
0
votes
0 answers
Spring Boot application blocking StreamingResponseBody
I have a Spring Boot application where I created a POST method that sends data in a streaming fashion to the caller. Code below:
@RequestMapping(value = "/mapmatchstreaming", method = RequestMethod.POST)
public ResponseEntity…

phcaze
- 1,707
- 5
- 27
- 58