I have got a Spring Boot 2 application with Spring Web Services and I try to limit max size of incoming requests. I've tried to use the following properties, but it doesn't work.
server.tomcat.max-http-form-post-size
spring.servlet.multipart.max-request-size
spring.servlet.multipart.max-file-size
Do you know any working solution to limit max size of incoming requests in Spring Boot 2 application with Spring Web Services? In the Spring Web Services documentation there is information that Spring Web Services provides a transport based on Sun’s JRE 1.6 HTTP server. Maybe it's a problem?