To decode url-arguments to color I use this HttpMessageConverter: Then I write a rest-controller having this mapping: I call the url http://loca ...
To decode url-arguments to color I use this HttpMessageConverter: Then I write a rest-controller having this mapping: I call the url http://loca ...
I'm trying to implement an endpoint that takes a serialized object from request parameter and deserializes it into a POJO. Is there an easy way how to ...
When using Spring Web, in this case for rest endpoints & using Spring Boot 2, I can configure interceptors for my app using by implementing the We ...
Basically, I want to log a request/response informations in one log containing bodies/headers with a Spring WebClient. With Spring RestTemplate we ca ...
I'm having a @RestController webservice method that might block the response thread with a long running service call. As follows: Problem: what if ...
I have a web application that is experiencing weird behavior. When you try to bring up the app, it requests that you log in as expected, and takes you ...
When I am hitting the URL it is downloading the JSP page but when I am using HTML page, it gets rendered in the browser. || HTML 1 - 0 JSP || Project ...
I want to return an error when the body of a REST request is empty (e.g contains only {}) but there is no way to detect if the request body contains a ...
I am getting error while sending the Lazy loaded object as a JSON in response to REST request in spring boot. When I request from browser to fetch th ...
I have the following structure I am trying to present index.js as a static resource. I tried the following in my application... But this doesn't ...
Using Spring Boot (2.1.4) and Jackson (2.9.8), I'm writing an API that consumes and produces XML, using @RestController and @RequestBody. Consuming ...
Unable to use Spring's reactive WebClient in a Spring boot based Web Application which runs on Tomcat. Application startup itself is failing due to un ...
I'm trying to delete a resource setting http status NO_CONTENT using Weblogic and the response takes 30 seconds to complete. Am i misusing Spring or i ...
I am using spring-webflux and want to upload files .... everything works great with just spring-web but when it comes to webflux i have not a clue wha ...
If I have some static headers that should be applied to any request sending with RestTemplate: how should those be added? In this example, I'd always ...
I'm using the following config to create a RestTemplate bean. Problem: by default HttpClient is instantiated as follows: Thus by default having ...
I created a Spring Boot application with spring-boot-starter-web using STS. Then created a RestController in a sub package and started the app. It sho ...
I'm creating a Spring-Boot microservice REST API that expects @RequestParam of type List<String>. How can I validate that the list contains a mi ...
I'm experimenting with Spring Web and testing a REST controller. The application is basically a game database accessible through a web service. When ...
I need to receive a csv file on the request and process it. But when I execute: This is what shows up on my console: Spring is saying my requ ...