loading table of contents...

Studio Developer Manual / Version 2310

Table Of Contents Obtaining the PreviewUrlService in Studio Server

The preview URL service in the Studio server can be obtained simply by referencing it by its interface. Let's say, you want to implement a new REST service and want to use the preview URL service. The basic approach using plain Spring Boot would be:

  public class CustomRestController {
    private final PreviewUrlService previewUrlService;
    public CustomRestController(PreviewUrlService previewUrlService) {
      this.previewUrlService = previewUrlService;

Search Results

Table Of Contents

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.