@ExperimentalApi
public interface RemoteContentBodyConversionService
ContentBodyConversionService implementation that communicates with Confluence remotely using the Confluence REST api.
Provides future returning equivalents for the methods in ContentBodyConversionService.| Modifier and Type | Method and Description |
|---|---|
com.atlassian.util.concurrent.Promise<ContentBody> |
convert(ContentBody body,
ContentRepresentation representation)
Convert a ContentBody value into another format, performing validation during the conversion.
|
com.atlassian.util.concurrent.Promise<ContentBody> convert(ContentBody body, ContentRepresentation representation) throws BadRequestException
body - the content to convertrepresentation - the ContentRepresentation to convert toBadRequestException - if any validation errors are found during the conversionCopyright © 2003-2014 Atlassian. All Rights Reserved.