All Implemented Interfaces:
RemoteWebView

public final class RemoteWebViewImpl extends AbstractRemoteWebView implements RemoteWebView
WebView implementation that communicates with Confluence remotely using the Confluence GraphQL API.
Since:
9.0
  • Method Details

    • getItemsForSectionCompletionStage

      public CompletionStage<Iterable<WebItemView>> getItemsForSectionCompletionStage(String section, Map<String,Object> additionalContext)
      Description copied from interface: RemoteWebView
      Fetch web items for a section from the REST API
      Specified by:
      getItemsForSectionCompletionStage in interface RemoteWebView
      Parameters:
      section - the section to fetch web items for
      additionalContext - additional context to add to the request to satisfy web item conditions
      Returns:
      a CompletionStage of an iterable of webItemViews for the given section
    • getSectionsForLocationCompletionStage

      public CompletionStage<Iterable<WebSectionView>> getSectionsForLocationCompletionStage(String location, Map<String,Object> additionalContext)
      Description copied from interface: RemoteWebView
      Fetch web sections for a given location from the REST API
      Specified by:
      getSectionsForLocationCompletionStage in interface RemoteWebView
      Parameters:
      location - the section to fetch web items for
      additionalContext - additional context to add to the request to satisfy web item conditions
      Returns:
      a CompletionStage of an iterable of WebSectionViews for the given location
    • getSectionsForLocationsCompletionStage

      public CompletionStage<Iterable<WebSectionView>> getSectionsForLocationsCompletionStage(Collection<String> locations, Map<String,Object> additionalContext)
      Description copied from interface: RemoteWebView
      Fetch web sections for given locations from the REST API
      Specified by:
      getSectionsForLocationsCompletionStage in interface RemoteWebView
      Parameters:
      locations - the locations to fetch web items for
      additionalContext - additional context to add to the request to satisfy web item conditions
      Returns:
      a CompletionStage of an iterable of WebSectionViews for the given location
    • getPanelsForLocationCompletionStage

      public CompletionStage<Iterable<WebPanelView>> getPanelsForLocationCompletionStage(String location, Map<String,Object> additionalContext)
      Description copied from interface: RemoteWebView
      Fetch web panels for a given location from the REST API
      Specified by:
      getPanelsForLocationCompletionStage in interface RemoteWebView
      Parameters:
      location - the location to fetch web items for
      additionalContext - additional context to add to the request to satisfy web item conditions
      Returns:
      a CompletionStage of an iterable of WebPanelViews for the given location
    • getPanelsForLocationsCompletionStage

      public CompletionStage<Iterable<WebPanelView>> getPanelsForLocationsCompletionStage(Collection<String> locations, Map<String,Object> additionalContext)
      Description copied from interface: RemoteWebView
      Fetch web panels for given locations from the REST API
      Specified by:
      getPanelsForLocationsCompletionStage in interface RemoteWebView
      Parameters:
      locations - the locations to fetch web items for
      additionalContext - additional context to add to the request to satisfy web item conditions
      Returns:
      a CompletionStage of an iterable of WebPanelViews for the given location
    • addContextParams

      protected jakarta.ws.rs.client.WebTarget addContextParams(jakarta.ws.rs.client.WebTarget resource, Map<String,Object> additionalContext)