Spring Boot “Request method 'GET' not supported” while redirecting POST request to https port through Catalina Connector
问题 I'm trying to redirect http to https through Catalina Connector in my Spring Boot application. If the incoming POST request is "https" then it is working as expected. But if my incoming POST request is "http" and after the redirection to "https" through below code, somewhere it is getting changed to GET because of which I'm getting - WARN 45028 --- [nio-8443-exec-8] o.s.web.servlet.PageNotFound : Request method 'GET' not supported Below are the methods in my @SpringBootApplication class: