|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.rest.client.AbstractRemoteService<ContentBodyConversionService> com.atlassian.confluence.rest.client.RemoteContentBodyConversionServiceImpl
public class RemoteContentBodyConversionServiceImpl
ContentBodyConversionService
implementation that communicates with Confluence remotely.
Constructor Summary | |
---|---|
RemoteContentBodyConversionServiceImpl(AuthenticatedWebResourceProvider provider,
com.google.common.util.concurrent.ListeningExecutorService executorService)
|
Method Summary | |
---|---|
com.atlassian.util.concurrent.Promise<ContentBody> |
convert(ContentBody body,
ContentRepresentation representation)
Convert a ContentBody value into another format, performing validation during the conversion. |
Methods inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService |
---|
addExpansions, addPageRequest, addPageRequestParams, deleteFuture, deleteFuture, getFutureGenericCollection, getFutureMapOfPageResponses, getFutureOption, getFuturePageResponseList, newExperimentalRestWebResource, newRestWebResource, postFuture, postFuture, postFuture, postFutureToPageResponse, putFuture |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RemoteContentBodyConversionServiceImpl(AuthenticatedWebResourceProvider provider, com.google.common.util.concurrent.ListeningExecutorService executorService)
Method Detail |
---|
public com.atlassian.util.concurrent.Promise<ContentBody> convert(ContentBody body, ContentRepresentation representation) throws BadRequestException
RemoteContentBodyConversionService
convert
in interface RemoteContentBodyConversionService
body
- the content to convertrepresentation
- the ContentRepresentation
to convert to
BadRequestException
- if any validation errors are found during the conversion
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |