public class HTTPSRemoteFile extends HTTPRemoteFile
Modifier and Type | Field and Description |
---|---|
static String |
HTTPSREMOTEFILE_KEY_PASSWORD
settings.common.remoteFile.certificatePassword:
The setting for the password that the certificate used for HTTPS remotefile (private key) is encrypted with. |
static String |
HTTPSREMOTEFILE_KEYSTORE_FILE
settings.common.remoteFile.certificateKeyStore:
The setting for the keystore file used for HTTPS remotefiles. |
static String |
HTTPSREMOTEFILE_KEYSTORE_PASSWORD
settings.common.remoteFile.certificateKeyStorePassword:
The setting for the password that the keystore used for HTTPS remotefile keystore is encrypted with. |
checksum, hostname, HTTPREMOTEFILE_PORT_NUMBER, url
file, fileDeletable, filesize, multipleDownloads, useChecksums
Modifier | Constructor and Description |
---|---|
protected |
HTTPSRemoteFile(File file,
boolean useChecksums,
boolean fileDeletable,
boolean multipleDownloads)
Initialises a remote file implemented by point-to-point HTTPS communication.
|
Modifier and Type | Method and Description |
---|---|
static RemoteFile |
getInstance(File f,
Boolean useChecksums,
Boolean fileDeletable,
Boolean multipleDownloads)
Initialises a remote file implemented by point-to-point HTTPS communication.
|
protected HTTPRemoteFileRegistry |
getRegistry()
Get the HTTPS serving registry for remote files.
|
cleanup, copyTo, getChecksum, getInputStream, getNumberOfRetries, isLocal
appendTo, getName, getSize, toString
public static String HTTPSREMOTEFILE_KEYSTORE_FILE
public static String HTTPSREMOTEFILE_KEYSTORE_PASSWORD
public static String HTTPSREMOTEFILE_KEY_PASSWORD
protected HTTPSRemoteFile(File file, boolean useChecksums, boolean fileDeletable, boolean multipleDownloads)
file
- The file to make a remote file foruseChecksums
- Whether communications are checksummed. If true, getChecksum will also return the checksum.fileDeletable
- if true, the file given to this method is deletable, once it is transferred.multipleDownloads
- if true, the file may be transferred more than once. Otherwise, all file handles are
attempted to be made invalid after the first transfer, although no guarantees are made.ArgumentNotValid
- if file is null, or not a readable file.IOFailure
- if checksums are requested, but i/o errors occur while checksumming.public static RemoteFile getInstance(File f, Boolean useChecksums, Boolean fileDeletable, Boolean multipleDownloads)
f
- The file to make a remote file foruseChecksums
- Whether communications are checksummed. If true, getChecksum will also return the checksum.fileDeletable
- if true, the file given to this method is deletable, once it is transferred.multipleDownloads
- if true, the file may be transferred more than once. Otherwise, all file handles are
attempted to be made invalid after the first transfer, although no guarantees are made.ArgumentNotValid
- if file is null, or not a readable file.IOFailure
- if checksums are requested, but i/o errors occur while checksumming.protected HTTPRemoteFileRegistry getRegistry()
getRegistry
in class HTTPRemoteFile
Copyright © 2005–2016 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.