Klasse AbstractExportFilesResource<TRAR extends AbstractResult<TaskResponse>>
java.lang.Object
com.cloudconvert.resource.AbstractResource
com.cloudconvert.resource.AbstractExportFilesResource<TRAR>
- Alle implementierten Schnittstellen:
Closeable,AutoCloseable
- Bekannte direkte Unterklassen:
AsyncExportFilesResource,ExportFilesResource
public abstract class AbstractExportFilesResource<TRAR extends AbstractResult<TaskResponse>>
extends AbstractResource
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringVon 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
KonstruktorenKonstruktorBeschreibungAbstractExportFilesResource(SettingsProvider settingsProvider, ObjectMapperProvider objectMapperProvider) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungabstract TRARazureBlob(@NotNull AzureBlobExportRequest azureBlobExportRequest) Create a task to export files to a Azure blob container.protected org.apache.http.client.methods.HttpUriRequestgetAzureBlobHttpUriRequest(@NotNull AzureBlobExportRequest azureBlobExportRequest) protected org.apache.http.client.methods.HttpUriRequestgetGoogleCloudStorageHttpUriRequest(@NotNull GoogleCloudStorageExportRequest googleCloudStorageExportRequest) protected org.apache.http.client.methods.HttpUriRequestgetOpenStackStorageHttpUriRequest(@NotNull OpenStackExportRequest openStackExportRequest) protected org.apache.http.client.methods.HttpUriRequestgetS3HttpUriRequest(@NotNull S3ExportRequest s3ExportRequest) protected org.apache.http.client.methods.HttpUriRequestgetSftpStorageHttpUriRequest(@NotNull SftpExportRequest sftpExportRequest) protected org.apache.http.client.methods.HttpUriRequestgetUrlHttpUriRequest(@NotNull UrlExportRequest urlExportRequest) abstract TRARgoogleCloudStorage(@NotNull GoogleCloudStorageExportRequest googleCloudStorageExportRequest) Create a task to export files to a Google Cloud Storage bucket.abstract TRARopenStack(@NotNull OpenStackExportRequest openStackExportRequest) Create a task to export files to OpenStack Object Storage (Swift).abstract TRARs3(@NotNull S3ExportRequest s3ExportRequest) Create a task to export files to a S3 bucket.abstract TRARsftp(@NotNull SftpExportRequest sftpExportRequest) Create a task to export files to a SFTP server.abstract TRARurl(@NotNull UrlExportRequest urlExportRequest) This task creates temporary URLs which can be used to download the files.Von Klasse geerbte Methoden com.cloudconvert.resource.AbstractResource
getHttpEntity, getHttpEntity, getHttpUriRequest, getHttpUriRequest, getJson, getSyncUri, getSyncUri, getUri, getUri, requestToMap
-
Felddetails
-
PATH_SEGMENT_EXPORT
- Siehe auch:
-
PATH_SEGMENT_URL
- Siehe auch:
-
PATH_SEGMENT_S3
- Siehe auch:
-
PATH_SEGMENTS_AZURE_BLOB
-
PATH_SEGMENT_GOOGLE_CLOUD_STORAGE
- Siehe auch:
-
PATH_SEGMENT_OPENSTACK
- Siehe auch:
-
PATH_SEGMENT_SFTP
- Siehe auch:
-
-
Konstruktordetails
-
AbstractExportFilesResource
public AbstractExportFilesResource(SettingsProvider settingsProvider, ObjectMapperProvider objectMapperProvider)
-
-
Methodendetails
-
url
public abstract TRAR url(@NotNull @NotNull UrlExportRequest urlExportRequest) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerException This task creates temporary URLs which can be used to download the files.Please note that all tasks get deleted after 24 hours automatically. Meaning, the created URLs are available for 24 hours only.
- Parameter:
urlExportRequest-UrlExportRequest- Gibt zurück:
- TRD
- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
getUrlHttpUriRequest
protected org.apache.http.client.methods.HttpUriRequest getUrlHttpUriRequest(@NotNull @NotNull UrlExportRequest urlExportRequest) throws IOException, URISyntaxException - Löst aus:
IOExceptionURISyntaxException
-
s3
public abstract TRAR s3(@NotNull @NotNull S3ExportRequest s3ExportRequest) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerException Create a task to export files to a S3 bucket.- Parameter:
s3ExportRequest-S3ExportRequest- Gibt zurück:
- TRD
- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
getS3HttpUriRequest
protected org.apache.http.client.methods.HttpUriRequest getS3HttpUriRequest(@NotNull @NotNull S3ExportRequest s3ExportRequest) throws IOException, URISyntaxException - Löst aus:
IOExceptionURISyntaxException
-
azureBlob
public abstract TRAR azureBlob(@NotNull @NotNull AzureBlobExportRequest azureBlobExportRequest) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerException Create a task to export files to a Azure blob container.- Parameter:
azureBlobExportRequest-AzureBlobExportRequest- Gibt zurück:
- TRD
- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
getAzureBlobHttpUriRequest
protected org.apache.http.client.methods.HttpUriRequest getAzureBlobHttpUriRequest(@NotNull @NotNull AzureBlobExportRequest azureBlobExportRequest) throws IOException, URISyntaxException - Löst aus:
IOExceptionURISyntaxException
-
googleCloudStorage
public abstract TRAR googleCloudStorage(@NotNull @NotNull GoogleCloudStorageExportRequest googleCloudStorageExportRequest) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerException Create a task to export files to a Google Cloud Storage bucket.- Parameter:
googleCloudStorageExportRequest-GoogleCloudStorageExportRequest- Gibt zurück:
- TRD
- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
getGoogleCloudStorageHttpUriRequest
protected org.apache.http.client.methods.HttpUriRequest getGoogleCloudStorageHttpUriRequest(@NotNull @NotNull GoogleCloudStorageExportRequest googleCloudStorageExportRequest) throws IOException, URISyntaxException - Löst aus:
IOExceptionURISyntaxException
-
openStack
public abstract TRAR openStack(@NotNull @NotNull OpenStackExportRequest openStackExportRequest) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerException Create a task to export files to OpenStack Object Storage (Swift).- Parameter:
openStackExportRequest-OpenStackExportRequest- Gibt zurück:
- TRD
- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
getOpenStackStorageHttpUriRequest
protected org.apache.http.client.methods.HttpUriRequest getOpenStackStorageHttpUriRequest(@NotNull @NotNull OpenStackExportRequest openStackExportRequest) throws IOException, URISyntaxException - Löst aus:
IOExceptionURISyntaxException
-
sftp
public abstract TRAR sftp(@NotNull @NotNull SftpExportRequest sftpExportRequest) throws IOException, URISyntaxException, CloudConvertClientException, CloudConvertServerException Create a task to export files to a SFTP server.- Parameter:
sftpExportRequest-SftpExportRequest- Gibt zurück:
- TRD
- Löst aus:
IOExceptionURISyntaxExceptionCloudConvertClientExceptionCloudConvertServerException
-
getSftpStorageHttpUriRequest
protected org.apache.http.client.methods.HttpUriRequest getSftpStorageHttpUriRequest(@NotNull @NotNull SftpExportRequest sftpExportRequest) throws IOException, URISyntaxException - Löst aus:
IOExceptionURISyntaxException
-