Spring Proxy MVC Transparent Resource

I am looking for a solution that allows me to proxy specific requests from my Spring MVC webapp to another HTTP server while working in the development profile. I'm trying to get Dart Pub to serve web application files on its own HTTP port, but draw this path in my Spring MVC application so that Spring provides REST resources and Dart files, Spring's MVC HTTP server from a browser perspective. In the release configuration, these files will be included in the war, so a proxy is not required.

I wonder if this is supported by any inline MVC element in Spring (e.g. mvc :) resource, or do I need to write my own proxy element for this?

+4
source share

Source: https://habr.com/ru/post/1548054/


All Articles