3 import org.springframework.beans.factory.annotation.Autowired;
4 import org.springframework.web.bind.annotation.GetMapping;
5 import org.springframework.web.bind.annotation.RequestParam;
6 import org.springframework.web.bind.annotation.RestController;
7 import reactor.core.publisher.Mono;
11 * Fetches data from remote-webserver and renders them as HTML.
15 public class RemoteContentController
18 RemoteContentService service;
22 public Mono<String> renderRemoteText(@RequestParam String path)
24 return service.getRemoteText(path);