Class WebClientExternalSystemContentProvider

java.lang.Object
com.flowable.engage.external.system.service.WebClientExternalSystemContentProvider
All Implemented Interfaces:
ExternalSystemContentProvider

public class WebClientExternalSystemContentProvider extends Object implements ExternalSystemContentProvider
ExternalSystemContentProvider that uses WebClient to fetch the external content.
Author:
Filip Hrisafov
  • Field Details

    • externalSystemId

      protected final String externalSystemId
    • webClient

      protected final WebClient webClient
  • Constructor Details

    • WebClientExternalSystemContentProvider

      public WebClientExternalSystemContentProvider(String externalSystemId, WebClient webClient)
      Create a new ExternalSystemContentProvider that uses a preconfigured WebClient with the path to the external content resource. The requests will be issued by suffixing the businessAccountId and / or the externalMediaId
      Parameters:
      externalSystemId - the id of the external system
      webClient - the preconfigured WebClient
  • Method Details