Category "spring-restcontroller"

Spring - is it possible to give same url (path) in request mapping for two different post methods?

Is it possible to map same path (uri) in request mapping for two different post methods, only difference is request body. Example @RequestMapping(value = "/he

Spring Boot can't autowire @ConfigurationProperties

Here is my FileStorageProperties class: @Data @ConfigurationProperties(prefix = "file") public class FileStorageProperties { private String uploadDir

Unable to get different Content-Types in request mapping using Spring Framework

Here is my controller class: @Controller @RequestMapping("/actuator") public class HealthController { @RequestMapping(value = "/metrics", method = RequestM

How to consume protobuf parameters using Spring REST?

I'm trying to pass a protobuf parameter to a REST endpoint but I get org.springframework.web.client.HttpServerErrorException: 500 null each time I try. W

How to consume protobuf parameters using Spring REST?

I'm trying to pass a protobuf parameter to a REST endpoint but I get org.springframework.web.client.HttpServerErrorException: 500 null each time I try. W