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:
- 9.0
-
Field Summary
Fields inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService
provider
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AbstractRemoteWebViewService
(AuthenticatedWebResourceProvider provider, ExecutorService executor) -
Method Summary
Modifier and TypeMethodDescriptionforContent
(ContentId contentId) Provides a new WebView.Provides a new generic WebView.protected abstract AbstractRemoteWebView
Methods inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService
addExpansions, addPageRequest, addPageRequestParams, deleteCompletionStage, deleteCompletionStage, getCompletionStage, getCompletionStageGenericCollection, getCompletionStageMap, getCompletionStageMapOfGenericListResponse, getCompletionStageMapOfPageResponses, getCompletionStageOptional, getCompletionStagePageResponseList, getCompletionStageSearchPageResponseList, getExecutor, newExperimentalRestWebTarget, newWebTarget, postCompletionStage, postCompletionStage, postCompletionStage, postCompletionStageToPageResponse, postVoidCompletionStage, putCompletionStage, putVoidCompletionStage
-
Constructor Details
-
AbstractRemoteWebViewService
protected AbstractRemoteWebViewService(AuthenticatedWebResourceProvider provider, ExecutorService executor) - Since:
- 9.0
-
-
Method Details
-
forContent
Description copied from interface:RemoteWebViewService
Provides a new WebView. The contentId is used to enrich the underlying WebInterfaceContext depending on what type of content is provided.- Specified by:
forContent
in interfaceRemoteWebViewService
- Parameters:
contentId
- the id of the CEO or null for a generic WebView- Returns:
-
forSpace
- Specified by:
forSpace
in interfaceRemoteWebViewService
-
forGeneric
Description copied from interface:RemoteWebViewService
Provides a new generic WebView.- Specified by:
forGeneric
in interfaceRemoteWebViewService
- Returns:
- a remote web view, capable of fetching web items, sections and panels from confluence via the REST API
-
newRemoteWebView
-