Klasse AbstractFilesResource<ISAR extends AbstractResult<InputStream>>
java.lang.Object
com.cloudconvert.resource.AbstractResource
com.cloudconvert.resource.AbstractFilesResource<ISAR>
- Alle implementierten Schnittstellen:
Closeable,AutoCloseable
- Bekannte direkte Unterklassen:
AsyncFilesResource,FilesResource
public abstract class AbstractFilesResource<ISAR extends AbstractResult<InputStream>>
extends AbstractResource
-
Feldübersicht
Von Klasse geerbte Felder com.cloudconvert.resource.AbstractResource
BEARER, HEADER_AUTHORIZATION, HEADER_USER_AGENT, INPUT_STREAM_TYPE_REFERENCE, JOB_RESPONSE_PAGEABLE_TYPE_REFERENCE, JOB_RESPONSE_TYPE_REFERENCE, MAP_STRING_TO_OBJECT_TYPE_REFERENCE, OPERATION_RESPONSE_PAGEABLE_TYPE_REFERENCE, TASK_RESPONSE_PAGEABLE_TYPE_REFERENCE, TASK_RESPONSE_TYPE_REFERENCE, USER_RESPONSE_TYPE_REFERENCE, V2, VALUE_USER_AGENT, VOID_TYPE_REFERENCE, WEBHOOKS_RESPONSE_PAGEABLE_TYPE_REFERENCE, WEBHOOKS_RESPONSE_TYPE_REFERENCE -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungAbstractFilesResource(SettingsProvider settingsProvider, ObjectMapperProvider objectMapperProvider) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungabstract ISARDownload fileprotected org.apache.http.client.methods.HttpUriRequestgetDownloadHttpUriRequest(@NotNull String path) Von Klasse geerbte Methoden com.cloudconvert.resource.AbstractResource
getHttpEntity, getHttpEntity, getHttpUriRequest, getHttpUriRequest, getJson, getSyncUri, getSyncUri, getUri, getUri, requestToMap
-
Konstruktordetails
-
AbstractFilesResource
public AbstractFilesResource(SettingsProvider settingsProvider, ObjectMapperProvider objectMapperProvider)
-
-
Methodendetails
-
download
public abstract ISAR download(@NotNull @NotNull String path) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerException Download file- Parameter:
path- path to file- Gibt zurück:
- IS
- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
getDownloadHttpUriRequest
protected org.apache.http.client.methods.HttpUriRequest getDownloadHttpUriRequest(@NotNull @NotNull String path) throws URISyntaxException - Löst aus:
URISyntaxException
-