Interface RemoteContentRenderingService


  • @ProviderType
    public interface RemoteContentRenderingService
    Interface for Osgi Service to get content rendered from the Remote Server
    • Method Detail

      • getRemoteContentResponse

        @Nonnull
        org.apache.http.client.methods.CloseableHttpResponse getRemoteContentResponse​(@Nonnull
                                                                                      SlingHttpServletRequest request)
                                                                               throws RemoteContentRenderingException,
                                                                                      java.io.IOException
        Creates a Remote Request using the config from Sling Servlet Request and provides the Response object after executing it on the Remote Content Rendering Server
        Parameters:
        request - The AEM internal servlet request
        Returns:
        The CloseableHttpResponse Object
        Throws:
        RemoteContentRenderingException
        java.io.IOException