com.atlassian.confluence.rest.client
Interface RemoteContentBodyConversionService
- All Known Implementing Classes:
- RemoteContentBodyConversionServiceImpl
@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.
convert
java.util.concurrent.Future<ContentBody> convert(ContentBody body,
ContentRepresentation representation)
throws BadRequestException
- Convert a ContentBody value into another format, performing validation during the conversion.
- Parameters:
body - the content to convertrepresentation - the ContentRepresentation to convert to
- Returns:
- the converted body
- Throws:
BadRequestException - if any validation errors are found during the conversion
Copyright © 2003-2014 Atlassian. All Rights Reserved.