public class RemoteContentBodyConversionServiceImpl extends AbstractRemoteService<ContentBodyConversionService> implements RemoteContentBodyConversionService
ContentBodyConversionService implementation that communicates with Confluence remotely.| Constructor and Description |
|---|
RemoteContentBodyConversionServiceImpl(AuthenticatedWebResourceProvider provider,
java.util.concurrent.ExecutorService executorService) |
| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.Future<ContentBody> |
convert(ContentBody body,
ContentRepresentation representation)
Convert a ContentBody value into another format, performing validation during the conversion.
|
addExpansions, deleteFuture, getFutureOption, getFuturePageResponseList, newRestWebResource, postFuture, putFuturepublic RemoteContentBodyConversionServiceImpl(AuthenticatedWebResourceProvider provider, java.util.concurrent.ExecutorService executorService)
public java.util.concurrent.Future<ContentBody> convert(ContentBody body, ContentRepresentation representation) throws BadRequestException
RemoteContentBodyConversionServiceconvert in interface RemoteContentBodyConversionServicebody - the content to convertrepresentation - the ContentRepresentation to convert toBadRequestException - if any validation errors are found during the conversionCopyright © 2003-2013 Atlassian. All Rights Reserved.