Class AbstractRemoteWebViewService
java.lang.Object
com.atlassian.confluence.rest.client.AbstractRemoteService<WebViewService>
com.atlassian.confluence.rest.client.remoteservice.webfragment.AbstractRemoteWebViewService
- All Implemented Interfaces:
RemoteWebViewService
- Direct Known Subclasses:
GraphQLRemoteWebViewServiceImpl,RemoteWebViewServiceImpl
public abstract class AbstractRemoteWebViewService
extends AbstractRemoteService<WebViewService>
implements RemoteWebViewService
WebViewService implementation that communicates with Confluence remotely.- Since:
- 6.12.0
-
Field Summary
Fields inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService
provider -
Constructor Summary
ConstructorsConstructorDescriptionAbstractRemoteWebViewService(AuthenticatedWebResourceProvider provider, ExecutorService executor) -
Method Summary
Modifier and TypeMethodDescriptionforContent(ContentId contentId) Provides a new WebView.Provides a new generic WebView.protected abstract AbstractRemoteWebViewMethods inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService
addExpansions, addPageRequest, addPageRequestParams, deleteCompletionStage, deleteCompletionStage, getCompletionStage, getCompletionStageGenericCollection, getCompletionStageMap, getCompletionStageMapOfPageResponses, getCompletionStageOptional, getCompletionStagePageResponseList, getCompletionStageSearchPageResponseList, getExecutor, newExperimentalRestWebResource, newRestWebResource, postCompletionStage, postCompletionStage, postCompletionStage, postCompletionStageToPageResponse, postVoidCompletionStage, putCompletionStage
-
Constructor Details
-
AbstractRemoteWebViewService
public AbstractRemoteWebViewService(AuthenticatedWebResourceProvider provider, ExecutorService executor) - Since:
- 8.8
-
-
Method Details
-
forContent
Description copied from interface:RemoteWebViewServiceProvides a new WebView. The contentId is used to enrich the underlying WebInterfaceContext depending on what type of content is provided.- Specified by:
forContentin interfaceRemoteWebViewService- Parameters:
contentId- the id of the CEO or null for a generic WebView- Returns:
-
forSpace
- Specified by:
forSpacein interfaceRemoteWebViewService
-
forGeneric
Description copied from interface:RemoteWebViewServiceProvides a new generic WebView.- Specified by:
forGenericin interfaceRemoteWebViewService- Returns:
- a remote web view, capable of fetching web items, sections and panels from confluence via the REST API
-
newRemoteWebView
-