title: Spring Boot: specify port at the mapping level
body: <p>Spring Boot: I want to have achieved the following: some URL paths are mapped to a port, some to another.</p>
  
  <p>In other words I'd like something like:</p>
  
  <pre><code>public class Controller1 {
    @RequestMapping(value="/path1", port="8080") public...
    @RequestMapping(value="/path2", port="8081") public...
  }
  </code></pre>
  
  <p>So that my app responds to both localhost:8080/path1 and localhost:8081/path2</p>
  
  <p>It's acceptable to have 2 separate controllers within the app.</p>
  
  <p>I have managed to partially succeed by implementing an EmbeddedServletContainerCustomizer for tomcat, but it would be nice to be able to achieve this inside the controller if possible.</p>
  
  <p>Is it possible?</p>