Index

A B C D E F G H I L M N O P R S T U V W X 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

AbstractDiskBasedService - Class in me.desair.tus.server.upload.disk
Common abstract super class to implement service that use the disk file system
AbstractDiskBasedService(String) - Constructor for class me.desair.tus.server.upload.disk.AbstractDiskBasedService
 
AbstractExtensionRequestHandler - Class in me.desair.tus.server.util
Abstract request handler to add tus extension values to the correct header
AbstractExtensionRequestHandler() - Constructor for class me.desair.tus.server.util.AbstractExtensionRequestHandler
 
AbstractRequestHandler - Class in me.desair.tus.server.util
Abstract RequestHandler implementation that contains the common functionality
AbstractRequestHandler() - Constructor for class me.desair.tus.server.util.AbstractRequestHandler
 
AbstractTusExtension - Class in me.desair.tus.server.util
 
AbstractTusExtension() - Constructor for class me.desair.tus.server.util.AbstractTusExtension
 
accept(Path) - Method in class me.desair.tus.server.upload.disk.ExpiredUploadFilter
 
addDateHeader(String, long) - Method in class me.desair.tus.server.util.TusServletResponse
 
addExtension(StringBuilder, String) - Method in class me.desair.tus.server.util.AbstractExtensionRequestHandler
 
addHeader(String, String) - Method in class me.desair.tus.server.util.TusServletResponse
 
addIntHeader(String, int) - Method in class me.desair.tus.server.util.TusServletResponse
 
addProcessor(TusExtension) - Method in class me.desair.tus.server.util.TusServletRequest
 
addTusExtension(TusExtension) - Method in class me.desair.tus.server.TusFileUploadService
Add a custom (application-specific) extension that implements the TusExtension interface.
append(UploadInfo, InputStream) - Method in class me.desair.tus.server.upload.cache.ThreadLocalCachedStorageAndLockingService
 
append(UploadInfo, InputStream) - Method in class me.desair.tus.server.upload.disk.DiskStorageService
 
append(UploadInfo, InputStream) - Method in interface me.desair.tus.server.upload.UploadStorageService
Append the bytes in the give InputStream to the upload with the given ID starting at the provided offset.
appendExtensions(StringBuilder) - Method in class me.desair.tus.server.checksum.ChecksumOptionsRequestHandler
 
appendExtensions(StringBuilder) - Method in class me.desair.tus.server.concatenation.ConcatenationOptionsRequestHandler
 
appendExtensions(StringBuilder) - Method in class me.desair.tus.server.creation.CreationOptionsRequestHandler
 
appendExtensions(StringBuilder) - Method in class me.desair.tus.server.download.DownloadOptionsRequestHandler
 
appendExtensions(StringBuilder) - Method in class me.desair.tus.server.expiration.ExpirationOptionsRequestHandler
 
appendExtensions(StringBuilder) - Method in class me.desair.tus.server.termination.TerminationOptionsRequestHandler
 
appendExtensions(StringBuilder) - Method in class me.desair.tus.server.util.AbstractExtensionRequestHandler
 

B

buildRemoteIpList(HttpServletRequest) - Static method in class me.desair.tus.server.util.Utils
Build a comma-separated list based on the remote address of the request and the X-Forwareded-For header.

C

CACHE_CONTROL - Static variable in class me.desair.tus.server.HttpHeader
 
CHECKSUM_VALUE_SEPARATOR - Static variable in enum class me.desair.tus.server.checksum.ChecksumAlgorithm
 
ChecksumAlgorithm - Enum Class in me.desair.tus.server.checksum
Enum that contains all supported checksum algorithms The names of the checksum algorithms MUST only consist of ASCII characters with the modification that uppercase characters are excluded.
ChecksumAlgorithmNotSupportedException - Exception in me.desair.tus.server.exception
Exception thrown when the client sends a request for a checksum algorithm we do not support
ChecksumAlgorithmNotSupportedException(String) - Constructor for exception me.desair.tus.server.exception.ChecksumAlgorithmNotSupportedException
 
ChecksumAlgorithmValidator - Class in me.desair.tus.server.checksum.validation
The Server MAY respond with one of the following status code: 400 Bad Request if the checksum algorithm is not supported by the server
ChecksumAlgorithmValidator() - Constructor for class me.desair.tus.server.checksum.validation.ChecksumAlgorithmValidator
 
ChecksumExtension - Class in me.desair.tus.server.checksum
The Client and the Server MAY implement and use this extension to verify data integrity of each PATCH request.
ChecksumExtension() - Constructor for class me.desair.tus.server.checksum.ChecksumExtension
 
ChecksumOptionsRequestHandler - Class in me.desair.tus.server.checksum
The Tus-Checksum-Algorithm header MUST be included in the response to an OPTIONS request.
ChecksumOptionsRequestHandler() - Constructor for class me.desair.tus.server.checksum.ChecksumOptionsRequestHandler
 
ChecksumPatchRequestHandler - Class in me.desair.tus.server.checksum
 
ChecksumPatchRequestHandler() - Constructor for class me.desair.tus.server.checksum.ChecksumPatchRequestHandler
 
cleanup() - Method in class me.desair.tus.server.TusFileUploadService
This method should be invoked periodically.
cleanupExpiredUploads(UploadLockingService) - Method in class me.desair.tus.server.upload.cache.ThreadLocalCachedStorageAndLockingService
 
cleanupExpiredUploads(UploadLockingService) - Method in class me.desair.tus.server.upload.disk.DiskStorageService
 
cleanupExpiredUploads(UploadLockingService) - Method in interface me.desair.tus.server.upload.UploadStorageService
Clean up any upload data that is expired according to the configured expiration time.
cleanupStaleLocks() - Method in class me.desair.tus.server.upload.cache.ThreadLocalCachedStorageAndLockingService
 
cleanupStaleLocks() - Method in class me.desair.tus.server.upload.disk.DiskLockingService
 
cleanupStaleLocks() - Method in interface me.desair.tus.server.upload.UploadLockingService
Clean up any stale locks that are still present.
close() - Method in class me.desair.tus.server.upload.disk.FileBasedLock
 
close() - Method in interface me.desair.tus.server.upload.UploadLock
 
close() - Method in class me.desair.tus.server.util.HttpChunkedEncodingInputStream
Upon close, this reads the remainder of the chunked message, leaving the underlying socket at a position to start reading the next response without scanning.
CONCATENATED - Enum constant in enum class me.desair.tus.server.upload.UploadType
CONCATENATED is the upload that combines different partial uploads
ConcatenationExtension - Class in me.desair.tus.server.concatenation
This extension can be used to concatenate multiple uploads into a single one enabling Clients to perform parallel uploads and to upload non-contiguous chunks.
ConcatenationExtension() - Constructor for class me.desair.tus.server.concatenation.ConcatenationExtension
 
ConcatenationHeadRequestHandler - Class in me.desair.tus.server.concatenation
The response to a HEAD request for a upload SHOULD NOT contain the Upload-Offset header unless the concatenation has been successfully finished.
ConcatenationHeadRequestHandler() - Constructor for class me.desair.tus.server.concatenation.ConcatenationHeadRequestHandler
 
ConcatenationOptionsRequestHandler - Class in me.desair.tus.server.concatenation
If the Server supports this extension, it MUST add concatenation to the Tus-Extension header.
ConcatenationOptionsRequestHandler() - Constructor for class me.desair.tus.server.concatenation.ConcatenationOptionsRequestHandler
 
ConcatenationPostRequestHandler - Class in me.desair.tus.server.concatenation
The Server MUST acknowledge a successful upload creation with the 201 Created status.
ConcatenationPostRequestHandler() - Constructor for class me.desair.tus.server.concatenation.ConcatenationPostRequestHandler
 
CONNECT - Enum constant in enum class me.desair.tus.server.HttpMethod
 
CONTENT_DISPOSITION - Static variable in class me.desair.tus.server.HttpHeader
 
CONTENT_LENGTH - Static variable in class me.desair.tus.server.HttpHeader
 
CONTENT_TYPE - Static variable in class me.desair.tus.server.HttpHeader
 
ContentLengthValidator - Class in me.desair.tus.server.core.validation
Validate that the given upload length in combination with the bytes we already received, does not exceed the declared initial length on upload creation.
ContentLengthValidator() - Constructor for class me.desair.tus.server.core.validation.ContentLengthValidator
 
ContentTypeValidator - Class in me.desair.tus.server.core.validation
All PATCH requests MUST use Content-Type: application/offset+octet-stream.
ContentTypeValidator() - Constructor for class me.desair.tus.server.core.validation.ContentTypeValidator
 
copyUploadTo(UploadInfo, OutputStream) - Method in class me.desair.tus.server.upload.cache.ThreadLocalCachedStorageAndLockingService
 
copyUploadTo(UploadInfo, OutputStream) - Method in class me.desair.tus.server.upload.disk.DiskStorageService
 
copyUploadTo(UploadInfo, OutputStream) - Method in interface me.desair.tus.server.upload.UploadStorageService
Copy the uploaded bytes to the given output stream.
CoreDefaultResponseHeadersHandler - Class in me.desair.tus.server.core
The Tus-Resumable header MUST be included in every request and response except for OPTIONS requests.
CoreDefaultResponseHeadersHandler() - Constructor for class me.desair.tus.server.core.CoreDefaultResponseHeadersHandler
 
CoreHeadRequestHandler - Class in me.desair.tus.server.core
A HEAD request is used to determine the offset at which the upload should be continued.
CoreHeadRequestHandler() - Constructor for class me.desair.tus.server.core.CoreHeadRequestHandler
 
CoreOptionsRequestHandler - Class in me.desair.tus.server.core
An OPTIONS request MAY be used to gather information about the Server’s current configuration.
CoreOptionsRequestHandler() - Constructor for class me.desair.tus.server.core.CoreOptionsRequestHandler
 
CorePatchRequestHandler - Class in me.desair.tus.server.core
The Server SHOULD accept PATCH requests against any upload URL and apply the bytes contained in the message at the given offset specified by the Upload-Offset header.
CorePatchRequestHandler() - Constructor for class me.desair.tus.server.core.CorePatchRequestHandler
 
CoreProtocol - Class in me.desair.tus.server.core
The core protocol describes how to resume an interrupted upload.
CoreProtocol() - Constructor for class me.desair.tus.server.core.CoreProtocol
 
create(UploadInfo, String) - Method in class me.desair.tus.server.upload.cache.ThreadLocalCachedStorageAndLockingService
 
create(UploadInfo, String) - Method in class me.desair.tus.server.upload.disk.DiskStorageService
 
create(UploadInfo, String) - Method in interface me.desair.tus.server.upload.UploadStorageService
Create an upload location with the given upload information.
createFileChannel() - Method in class me.desair.tus.server.upload.disk.FileBasedLock
 
createId() - Method in class me.desair.tus.server.upload.TimeBasedUploadIdFactory
 
createId() - Method in class me.desair.tus.server.upload.UploadIdFactory
Create a new unique upload ID.
createId() - Method in class me.desair.tus.server.upload.UuidUploadIdFactory
 
CreationExtension - Class in me.desair.tus.server.creation
The Client and the Server SHOULD implement the upload creation extension.
CreationExtension() - Constructor for class me.desair.tus.server.creation.CreationExtension
 
CreationHeadRequestHandler - Class in me.desair.tus.server.creation
A HEAD request can be used to retrieve the metadata that was supplied at creation.
CreationHeadRequestHandler() - Constructor for class me.desair.tus.server.creation.CreationHeadRequestHandler
 
CreationOptionsRequestHandler - Class in me.desair.tus.server.creation
The Client and the Server SHOULD implement the upload creation extension.
CreationOptionsRequestHandler() - Constructor for class me.desair.tus.server.creation.CreationOptionsRequestHandler
 
CreationPatchRequestHandler - Class in me.desair.tus.server.creation
Upload-Defer-Length: 1 if upload size is not known at the time.
CreationPatchRequestHandler() - Constructor for class me.desair.tus.server.creation.CreationPatchRequestHandler
 
CreationPostRequestHandler - Class in me.desair.tus.server.creation
The Server MUST acknowledge a successful upload creation with the 201 Created status.
CreationPostRequestHandler() - Constructor for class me.desair.tus.server.creation.CreationPostRequestHandler
 

D

DELETE - Enum constant in enum class me.desair.tus.server.HttpMethod
 
deleteUpload(String) - Method in class me.desair.tus.server.TusFileUploadService
Method to delete an upload associated with the given upload URL.
deleteUpload(String, String) - Method in class me.desair.tus.server.TusFileUploadService
Method to delete an upload associated with the given upload URL.
disableTusExtension(String) - Method in class me.desair.tus.server.TusFileUploadService
Disable the TusExtension for which the getName() method matches the provided string.
DiskLockingService - Class in me.desair.tus.server.upload.disk
UploadLockingService implementation that uses the file system for implementing locking
File locking can also apply to shared network drives.
DiskLockingService(String) - Constructor for class me.desair.tus.server.upload.disk.DiskLockingService
 
DiskLockingService(UploadIdFactory, String) - Constructor for class me.desair.tus.server.upload.disk.DiskLockingService
Constructor to use custom UploadIdFactory.
DiskStorageService - Class in me.desair.tus.server.upload.disk
Implementation of UploadStorageService that implements storage on disk.
DiskStorageService(String) - Constructor for class me.desair.tus.server.upload.disk.DiskStorageService
 
DiskStorageService(UploadIdFactory, String) - Constructor for class me.desair.tus.server.upload.disk.DiskStorageService
 
DownloadExtension - Class in me.desair.tus.server.download
Some Tus clients also send GET request to retrieve the uploaded content.
DownloadExtension() - Constructor for class me.desair.tus.server.download.DownloadExtension
 
DownloadGetRequestHandler - Class in me.desair.tus.server.download
Send the uploaded bytes of finished uploads
DownloadGetRequestHandler() - Constructor for class me.desair.tus.server.download.DownloadGetRequestHandler
 
DownloadOptionsRequestHandler - Class in me.desair.tus.server.download
Add our download extension the Tus-Extension header
DownloadOptionsRequestHandler() - Constructor for class me.desair.tus.server.download.DownloadOptionsRequestHandler
 

E

equals(Object) - Method in class me.desair.tus.server.upload.UploadId
 
equals(Object) - Method in class me.desair.tus.server.upload.UploadInfo
 
executeProcessingByFeatures(HttpMethod, TusServletRequest, TusServletResponse, String) - Method in class me.desair.tus.server.TusFileUploadService
 
ExpirationExtension - Class in me.desair.tus.server.expiration
The Server MAY remove unfinished uploads once they expire.
ExpirationExtension() - Constructor for class me.desair.tus.server.expiration.ExpirationExtension
 
ExpirationOptionsRequestHandler - Class in me.desair.tus.server.expiration
The Server MAY remove unfinished uploads once they expire.
ExpirationOptionsRequestHandler() - Constructor for class me.desair.tus.server.expiration.ExpirationOptionsRequestHandler
 
ExpirationRequestHandler - Class in me.desair.tus.server.expiration
The Upload-Expires response header indicates the time after which the unfinished upload expires.
ExpirationRequestHandler() - Constructor for class me.desair.tus.server.expiration.ExpirationRequestHandler
 
ExpiredUploadFilter - Class in me.desair.tus.server.upload.disk
Directory stream filter that only accepts uploads that are still in progress and expired

F

FileBasedLock - Class in me.desair.tus.server.upload.disk
Upload locking implementation using the file system file locking mechanism.
FileBasedLock(String, Path) - Constructor for class me.desair.tus.server.upload.disk.FileBasedLock
 
forName(String) - Static method in enum class me.desair.tus.server.HttpMethod
 
forTusName(String) - Static method in enum class me.desair.tus.server.checksum.ChecksumAlgorithm
 
forUploadChecksumHeader(String) - Static method in enum class me.desair.tus.server.checksum.ChecksumAlgorithm
 

G

GET - Enum constant in enum class me.desair.tus.server.HttpMethod
 
getBytesRead() - Method in class me.desair.tus.server.util.TusServletRequest
 
getCalculatedChecksum(ChecksumAlgorithm) - Method in class me.desair.tus.server.util.TusServletRequest
 
getConcatenatedBytes(UploadInfo) - Method in interface me.desair.tus.server.upload.concatenation.UploadConcatenationService
Get the concatenated bytes of this concatenated upload
getConcatenatedBytes(UploadInfo) - Method in class me.desair.tus.server.upload.concatenation.VirtualConcatenationService
 
getConcatenationPartIds() - Method in class me.desair.tus.server.upload.UploadInfo
Get the list of upload identifiers of which this upload is composed of.
getContentInputStream() - Method in class me.desair.tus.server.util.TusServletRequest
 
getCreationTimestamp() - Method in class me.desair.tus.server.upload.UploadInfo
The timestamp this upload was created in number of milliseconds since January 1, 1970, 00:00:00 GMT
getCreatorIpAddresses() - Method in class me.desair.tus.server.upload.UploadInfo
Get the ip-addresses that were involved when this upload was created.
getCurrentTime() - Method in class me.desair.tus.server.upload.UploadInfo
Get the current time in the number of milliseconds since January 1, 1970, 00:00:00 GMT
getEnabledChecksums() - Method in class me.desair.tus.server.util.TusServletRequest
Get the set of checksum algorithms that are actively calculated within this request
getEnabledFeatures() - Method in class me.desair.tus.server.TusFileUploadService
Get the set of enabled Tus extensions.
getEncodedMetadata() - Method in class me.desair.tus.server.upload.UploadInfo
Get the encoded Tus metadata string as it was provided by the Tus client at creation of the upload.
getExpirationTimestamp() - Method in class me.desair.tus.server.upload.UploadInfo
Indicates the timestamp after which the upload expires in milliseconds since January 1, 1970, 00:00:00 GMT
getFileMimeType() - Method in class me.desair.tus.server.upload.UploadInfo
Try to guess the mime-type of the uploaded data.
getFileName() - Method in class me.desair.tus.server.upload.UploadInfo
Try to guess the filename of the uploaded data.
getHeader(HttpServletRequest, String) - Static method in class me.desair.tus.server.util.Utils
 
getHeader(String) - Method in class me.desair.tus.server.util.TusServletRequest
 
getHeader(String) - Method in class me.desair.tus.server.util.TusServletResponse
 
getId() - Method in class me.desair.tus.server.upload.UploadInfo
Get the unique identifier of this upload process The unique identifier is represented by a UploadId instance
getIdValueIfValid(String) - Method in class me.desair.tus.server.upload.TimeBasedUploadIdFactory
 
getIdValueIfValid(String) - Method in class me.desair.tus.server.upload.UploadIdFactory
Transform the extracted path ID value to a value to use for the upload ID object.
getIdValueIfValid(String) - Method in class me.desair.tus.server.upload.UuidUploadIdFactory
 
getJavaName() - Method in enum class me.desair.tus.server.checksum.ChecksumAlgorithm
 
getLength() - Method in class me.desair.tus.server.upload.UploadInfo
Get the total length of the byte array that the client wants to upload.
getLongHeader(HttpServletRequest, String) - Static method in class me.desair.tus.server.util.Utils
 
getMaxUploadSize() - Method in class me.desair.tus.server.upload.cache.ThreadLocalCachedStorageAndLockingService
 
getMaxUploadSize() - Method in class me.desair.tus.server.upload.disk.DiskStorageService
 
getMaxUploadSize() - Method in interface me.desair.tus.server.upload.UploadStorageService
Get the maximum upload size configured on this storage service.
getMessageDigest() - Method in enum class me.desair.tus.server.checksum.ChecksumAlgorithm
 
getMetadata() - Method in class me.desair.tus.server.upload.UploadInfo
Get the decoded metadata map provided by the client based on the encoded Tus metadata string received on creation of the upload.
getMethodIfSupported(HttpServletRequest, Set<HttpMethod>) - Static method in enum class me.desair.tus.server.HttpMethod
 
getMinimalSupportedHttpMethods() - Method in class me.desair.tus.server.checksum.ChecksumExtension
 
getMinimalSupportedHttpMethods() - Method in class me.desair.tus.server.concatenation.ConcatenationExtension
 
getMinimalSupportedHttpMethods() - Method in class me.desair.tus.server.core.CoreProtocol
 
getMinimalSupportedHttpMethods() - Method in class me.desair.tus.server.creation.CreationExtension
 
getMinimalSupportedHttpMethods() - Method in class me.desair.tus.server.download.DownloadExtension
 
getMinimalSupportedHttpMethods() - Method in class me.desair.tus.server.expiration.ExpirationExtension
 
getMinimalSupportedHttpMethods() - Method in class me.desair.tus.server.termination.TerminationExtension
 
getMinimalSupportedHttpMethods() - Method in interface me.desair.tus.server.TusExtension
The minimal list of HTTP methods that this extension needs to function properly
getName() - Method in class me.desair.tus.server.checksum.ChecksumExtension
 
getName() - Method in class me.desair.tus.server.concatenation.ConcatenationExtension
 
getName() - Method in class me.desair.tus.server.core.CoreProtocol
 
getName() - Method in class me.desair.tus.server.creation.CreationExtension
 
getName() - Method in class me.desair.tus.server.download.DownloadExtension
 
getName() - Method in class me.desair.tus.server.expiration.ExpirationExtension
 
getName() - Method in class me.desair.tus.server.termination.TerminationExtension
 
getName() - Method in interface me.desair.tus.server.TusExtension
The name of the Tus extension that can be used to disable or enable the extension
getOffset() - Method in class me.desair.tus.server.upload.UploadInfo
The current byte offset of the bytes that already have been stored for this upload on the server.
getOriginalObject() - Method in class me.desair.tus.server.upload.UploadId
The original input object that was provided when constructing this upload ID
getOwnerKey() - Method in class me.desair.tus.server.upload.UploadInfo
Get the owner key for this upload.
getPartialUploads(UploadInfo) - Method in interface me.desair.tus.server.upload.concatenation.UploadConcatenationService
Get all underlying partial uploads associated with the given concatenated upload
getPartialUploads(UploadInfo) - Method in class me.desair.tus.server.upload.concatenation.VirtualConcatenationService
 
getPathInStorageDirectory(UploadId) - Method in class me.desair.tus.server.upload.disk.AbstractDiskBasedService
 
getStatus() - Method in exception me.desair.tus.server.exception.TusException
 
getStoragePath() - Method in class me.desair.tus.server.upload.disk.AbstractDiskBasedService
 
getSupportedHttpMethods() - Method in class me.desair.tus.server.TusFileUploadService
Get all HTTP methods that are supported by this TusUploadService based on the enabled and/or disabled tus extensions.
getTusName() - Method in enum class me.desair.tus.server.checksum.ChecksumAlgorithm
 
getUploadConcatenationService() - Method in class me.desair.tus.server.upload.cache.ThreadLocalCachedStorageAndLockingService
 
getUploadConcatenationService() - Method in class me.desair.tus.server.upload.disk.DiskStorageService
 
getUploadConcatenationService() - Method in interface me.desair.tus.server.upload.UploadStorageService
Return the UploadConcatenationService implementation that this upload service is using.
getUploadConcatHeaderValue() - Method in class me.desair.tus.server.upload.UploadInfo
Get the original value of the "Upload-Concat" HTTP header that was provided by the client
getUploadedBytes(String) - Method in class me.desair.tus.server.TusFileUploadService
Method to retrieve the bytes that were uploaded to a specific upload URI.
getUploadedBytes(String, String) - Method in class me.desair.tus.server.TusFileUploadService
Method to retrieve the bytes that were uploaded to a specific upload URI.
getUploadedBytes(String, String) - Method in class me.desair.tus.server.upload.cache.ThreadLocalCachedStorageAndLockingService
 
getUploadedBytes(String, String) - Method in class me.desair.tus.server.upload.disk.DiskStorageService
 
getUploadedBytes(String, String) - Method in interface me.desair.tus.server.upload.UploadStorageService
Get the uploaded bytes corresponding to the given upload URL as a stream.
getUploadedBytes(UploadId) - Method in class me.desair.tus.server.upload.cache.ThreadLocalCachedStorageAndLockingService
 
getUploadedBytes(UploadId) - Method in class me.desair.tus.server.upload.disk.DiskStorageService
 
getUploadedBytes(UploadId) - Method in interface me.desair.tus.server.upload.UploadStorageService
Get the uploaded bytes corresponding to the given upload ID as a stream.
getUploadExpirationPeriod() - Method in class me.desair.tus.server.upload.cache.ThreadLocalCachedStorageAndLockingService
 
getUploadExpirationPeriod() - Method in class me.desair.tus.server.upload.disk.DiskStorageService
 
getUploadExpirationPeriod() - Method in interface me.desair.tus.server.upload.UploadStorageService
Get the expiration period of an upload in milliseconds.
getUploadInfo(String) - Method in class me.desair.tus.server.TusFileUploadService
Get the information on the upload corresponding to the given upload URI.
getUploadInfo(String, String) - Method in class me.desair.tus.server.TusFileUploadService
Get the information on the upload corresponding to the given upload URI.
getUploadInfo(String, String) - Method in class me.desair.tus.server.upload.cache.ThreadLocalCachedStorageAndLockingService
 
getUploadInfo(String, String) - Method in class me.desair.tus.server.upload.disk.DiskStorageService
 
getUploadInfo(String, String) - Method in interface me.desair.tus.server.upload.UploadStorageService
Method to retrieve the upload info by its upload URL.
getUploadInfo(UploadId) - Method in class me.desair.tus.server.upload.cache.ThreadLocalCachedStorageAndLockingService
 
getUploadInfo(UploadId) - Method in class me.desair.tus.server.upload.disk.DiskStorageService
 
getUploadInfo(UploadId) - Method in interface me.desair.tus.server.upload.UploadStorageService
Method to retrieve the upload info by its ID.
getUploadType() - Method in class me.desair.tus.server.upload.UploadInfo
Return the type of this upload.
getUploadUri() - Method in class me.desair.tus.server.upload.cache.ThreadLocalCachedStorageAndLockingService
 
getUploadUri() - Method in class me.desair.tus.server.upload.disk.DiskStorageService
 
getUploadUri() - Method in class me.desair.tus.server.upload.disk.FileBasedLock
 
getUploadUri() - Method in class me.desair.tus.server.upload.UploadIdFactory
Return the URI of the main tus upload endpoint.
getUploadUri() - Method in interface me.desair.tus.server.upload.UploadLock
Get the upload URI of the upload that is locked by this lock
getUploadUri() - Method in interface me.desair.tus.server.upload.UploadStorageService
The URI which is configured as the upload endpoint.
getUploadUriPattern() - Method in class me.desair.tus.server.upload.UploadIdFactory
Build and retrieve the Upload URI regex pattern.

H

handleError(HttpMethod, TusServletRequest, TusServletResponse, UploadStorageService, String) - Method in interface me.desair.tus.server.TusExtension
If a request is invalid, or when processing the request fails, it might be necessary to react to this failure.
handleError(HttpMethod, TusServletRequest, TusServletResponse, UploadStorageService, String) - Method in class me.desair.tus.server.util.AbstractTusExtension
 
hasCalculatedChecksum() - Method in class me.desair.tus.server.util.TusServletRequest
 
hashCode() - Method in class me.desair.tus.server.upload.UploadId
 
hashCode() - Method in class me.desair.tus.server.upload.UploadInfo
 
hasLength() - Method in class me.desair.tus.server.upload.UploadInfo
Did the client already provide a total upload length?
hasMetadata() - Method in class me.desair.tus.server.upload.UploadInfo
Did the client provide any metadata when creating this upload?
hasMoreElements() - Method in class me.desair.tus.server.upload.concatenation.UploadInputStreamEnumeration
 
HEAD - Enum constant in enum class me.desair.tus.server.HttpMethod
 
HttpChunkedEncodingInputStream - Class in me.desair.tus.server.util
Transparently coalesces chunks of a HTTP stream that uses Transfer-Encoding chunked.
HttpChunkedEncodingInputStream(InputStream) - Constructor for class me.desair.tus.server.util.HttpChunkedEncodingInputStream
Wrap the given input stream.
HttpChunkedEncodingInputStream(InputStream, Map<String, List<String>>) - Constructor for class me.desair.tus.server.util.HttpChunkedEncodingInputStream
Wrap the given input stream and store any trailing headers in the provided map.
HttpHeader - Class in me.desair.tus.server
Class that will hold constants for all HTTP headers relevant to the tus v1.0.0 protocol
HttpMethod - Enum Class in me.desair.tus.server
Class that represents a HTTP method.
HttpMethodValidator - Class in me.desair.tus.server.core.validation
Class to validate if the current HTTP method is valid
HttpMethodValidator() - Constructor for class me.desair.tus.server.core.validation.HttpMethodValidator
 

I

IdExistsValidator - Class in me.desair.tus.server.core.validation
If the resource is not found, the Server SHOULD return either the 404 Not Found, 410 Gone or 403 Forbidden status without the Upload-Offset header.
IdExistsValidator() - Constructor for class me.desair.tus.server.core.validation.IdExistsValidator
 
initFeatures() - Method in class me.desair.tus.server.TusFileUploadService
 
initRequestHandlers(List<RequestHandler>) - Method in class me.desair.tus.server.checksum.ChecksumExtension
 
initRequestHandlers(List<RequestHandler>) - Method in class me.desair.tus.server.concatenation.ConcatenationExtension
 
initRequestHandlers(List<RequestHandler>) - Method in class me.desair.tus.server.core.CoreProtocol
 
initRequestHandlers(List<RequestHandler>) - Method in class me.desair.tus.server.creation.CreationExtension
 
initRequestHandlers(List<RequestHandler>) - Method in class me.desair.tus.server.download.DownloadExtension
 
initRequestHandlers(List<RequestHandler>) - Method in class me.desair.tus.server.expiration.ExpirationExtension
 
initRequestHandlers(List<RequestHandler>) - Method in class me.desair.tus.server.termination.TerminationExtension
 
initRequestHandlers(List<RequestHandler>) - Method in class me.desair.tus.server.util.AbstractTusExtension
 
initValidators(List<RequestValidator>) - Method in class me.desair.tus.server.checksum.ChecksumExtension
 
initValidators(List<RequestValidator>) - Method in class me.desair.tus.server.concatenation.ConcatenationExtension
 
initValidators(List<RequestValidator>) - Method in class me.desair.tus.server.core.CoreProtocol
 
initValidators(List<RequestValidator>) - Method in class me.desair.tus.server.creation.CreationExtension
 
initValidators(List<RequestValidator>) - Method in class me.desair.tus.server.download.DownloadExtension
 
initValidators(List<RequestValidator>) - Method in class me.desair.tus.server.expiration.ExpirationExtension
 
initValidators(List<RequestValidator>) - Method in class me.desair.tus.server.termination.TerminationExtension
 
initValidators(List<RequestValidator>) - Method in class me.desair.tus.server.util.AbstractTusExtension
 
InvalidContentLengthException - Exception in me.desair.tus.server.exception
 
InvalidContentLengthException(String) - Constructor for exception me.desair.tus.server.exception.InvalidContentLengthException
 
InvalidContentTypeException - Exception in me.desair.tus.server.exception
Exception thrown when the request has an invalid content type.
InvalidContentTypeException(String) - Constructor for exception me.desair.tus.server.exception.InvalidContentTypeException
 
InvalidPartialUploadIdException - Exception in me.desair.tus.server.exception
Exception thrown when the Upload-Concat header contains an ID which is not valid.
InvalidPartialUploadIdException(String) - Constructor for exception me.desair.tus.server.exception.InvalidPartialUploadIdException
 
InvalidTusResumableException - Exception in me.desair.tus.server.exception
Exception thrown when receiving a request with a tus protocol version we do not support
The Tus-Resumable header MUST be included in every request and response except for OPTIONS requests.
InvalidTusResumableException(String) - Constructor for exception me.desair.tus.server.exception.InvalidTusResumableException
 
InvalidUploadLengthException - Exception in me.desair.tus.server.exception
Exception thrown when no valid Upload-Length or Upload-Defer-Length header is found
InvalidUploadLengthException(String) - Constructor for exception me.desair.tus.server.exception.InvalidUploadLengthException
 
InvalidUploadOffsetException - Exception in me.desair.tus.server.exception
 
InvalidUploadOffsetException(String) - Constructor for exception me.desair.tus.server.exception.InvalidUploadOffsetException
 
isErrorHandler() - Method in class me.desair.tus.server.core.CoreDefaultResponseHeadersHandler
 
isErrorHandler() - Method in class me.desair.tus.server.expiration.ExpirationRequestHandler
 
isErrorHandler() - Method in interface me.desair.tus.server.RequestHandler
 
isErrorHandler() - Method in class me.desair.tus.server.util.AbstractRequestHandler
 
isExpired() - Method in class me.desair.tus.server.upload.UploadInfo
Check if this upload is expired
isLocked(UploadId) - Method in class me.desair.tus.server.upload.cache.ThreadLocalCachedStorageAndLockingService
 
isLocked(UploadId) - Method in class me.desair.tus.server.upload.disk.DiskLockingService
 
isLocked(UploadId) - Method in interface me.desair.tus.server.upload.UploadLockingService
Check if the upload with the given ID is currently locked.
isProcessedBy(TusExtension) - Method in class me.desair.tus.server.util.TusServletRequest
 
isUploadInProgress() - Method in class me.desair.tus.server.upload.UploadInfo
An upload is still in progress: - as long as we did not receive information on the total length (see UploadInfo.getLength()) - the total length does not match the current offset

L

LOCATION - Static variable in class me.desair.tus.server.HttpHeader
 
lockFileExclusively(FileChannel) - Static method in class me.desair.tus.server.util.Utils
 
lockFileShared(FileChannel) - Static method in class me.desair.tus.server.util.Utils
 
lockPath - Variable in class me.desair.tus.server.upload.disk.FileBasedLock
 
lockUploadByUri(String) - Method in class me.desair.tus.server.upload.cache.ThreadLocalCachedStorageAndLockingService
 
lockUploadByUri(String) - Method in class me.desair.tus.server.upload.disk.DiskLockingService
 
lockUploadByUri(String) - Method in interface me.desair.tus.server.upload.UploadLockingService
If the given URI represents a valid upload, lock that upload for processing.

M

MaxUploadLengthExceededException - Exception in me.desair.tus.server.exception
Exception thrown when the given upload length exceeds or internally defined maximum
MaxUploadLengthExceededException(String) - Constructor for exception me.desair.tus.server.exception.MaxUploadLengthExceededException
 
MD5 - Enum constant in enum class me.desair.tus.server.checksum.ChecksumAlgorithm
 
me.desair.tus.server - package me.desair.tus.server
 
me.desair.tus.server.checksum - package me.desair.tus.server.checksum
 
me.desair.tus.server.checksum.validation - package me.desair.tus.server.checksum.validation
 
me.desair.tus.server.concatenation - package me.desair.tus.server.concatenation
 
me.desair.tus.server.concatenation.validation - package me.desair.tus.server.concatenation.validation
 
me.desair.tus.server.core - package me.desair.tus.server.core
 
me.desair.tus.server.core.validation - package me.desair.tus.server.core.validation
 
me.desair.tus.server.creation - package me.desair.tus.server.creation
 
me.desair.tus.server.creation.validation - package me.desair.tus.server.creation.validation
 
me.desair.tus.server.download - package me.desair.tus.server.download
 
me.desair.tus.server.exception - package me.desair.tus.server.exception
 
me.desair.tus.server.expiration - package me.desair.tus.server.expiration
 
me.desair.tus.server.termination - package me.desair.tus.server.termination
 
me.desair.tus.server.upload - package me.desair.tus.server.upload
 
me.desair.tus.server.upload.cache - package me.desair.tus.server.upload.cache
 
me.desair.tus.server.upload.concatenation - package me.desair.tus.server.upload.concatenation
 
me.desair.tus.server.upload.disk - package me.desair.tus.server.upload.disk
 
me.desair.tus.server.util - package me.desair.tus.server.util
 
merge(UploadInfo) - Method in interface me.desair.tus.server.upload.concatenation.UploadConcatenationService
Merge the given concatenated upload if all the underlying partial uploads are completed.
merge(UploadInfo) - Method in class me.desair.tus.server.upload.concatenation.VirtualConcatenationService
 
METHOD_OVERRIDE - Static variable in class me.desair.tus.server.HttpHeader
The X-HTTP-Method-Override request header MUST be a string which MUST be interpreted as the request’s method by the Server, if the header is presented.

N

nextElement() - Method in class me.desair.tus.server.upload.concatenation.UploadInputStreamEnumeration
 
NoUploadLengthOnFinalValidator - Class in me.desair.tus.server.concatenation.validation
The Client MUST NOT include the Upload-Length header in the upload creation.
NoUploadLengthOnFinalValidator() - Constructor for class me.desair.tus.server.concatenation.validation.NoUploadLengthOnFinalValidator
 

O

OPTIONS - Enum constant in enum class me.desair.tus.server.HttpMethod
 

P

parseConcatenationIDsFromHeader(String) - Static method in class me.desair.tus.server.util.Utils
 
PARTIAL - Enum constant in enum class me.desair.tus.server.upload.UploadType
PARTIAL indicates an upload that is part of a concatenated upload
PartialUploadsExistValidator - Class in me.desair.tus.server.concatenation.validation
Validate that the IDs specified in the Upload-Concat header map to an existing upload
PartialUploadsExistValidator() - Constructor for class me.desair.tus.server.concatenation.validation.PartialUploadsExistValidator
 
PATCH - Enum constant in enum class me.desair.tus.server.HttpMethod
 
PatchFinalUploadValidator - Class in me.desair.tus.server.concatenation.validation
The Server MUST respond with the 403 Forbidden status to PATCH requests against a upload URL and MUST NOT modify the or its partial uploads.
PatchFinalUploadValidator() - Constructor for class me.desair.tus.server.concatenation.validation.PatchFinalUploadValidator
 
PatchOnFinalUploadNotAllowedException - Exception in me.desair.tus.server.exception
The Server MUST respond with the 403 Forbidden status to PATCH requests against a upload URL
PatchOnFinalUploadNotAllowedException(String) - Constructor for exception me.desair.tus.server.exception.PatchOnFinalUploadNotAllowedException
 
POST - Enum constant in enum class me.desair.tus.server.HttpMethod
 
PostEmptyRequestValidator - Class in me.desair.tus.server.creation.validation
An empty POST request is used to create a new upload resource.
PostEmptyRequestValidator() - Constructor for class me.desair.tus.server.creation.validation.PostEmptyRequestValidator
 
PostOnInvalidRequestURIException - Exception in me.desair.tus.server.exception
Exception thrown when a POST request was received on an invalid URI
PostOnInvalidRequestURIException(String) - Constructor for exception me.desair.tus.server.exception.PostOnInvalidRequestURIException
 
PostUriValidator - Class in me.desair.tus.server.creation.validation
The Client MUST send a POST request against a known upload creation URL to request a new upload resource.
PostUriValidator() - Constructor for class me.desair.tus.server.creation.validation.PostUriValidator
 
process(HttpServletRequest, HttpServletResponse) - Method in class me.desair.tus.server.TusFileUploadService
Process a tus upload request.
process(HttpServletRequest, HttpServletResponse, String) - Method in class me.desair.tus.server.TusFileUploadService
Process a tus upload request that belongs to a specific owner.
process(HttpMethod, TusServletRequest, TusServletResponse, UploadStorageService, String) - Method in class me.desair.tus.server.checksum.ChecksumOptionsRequestHandler
 
process(HttpMethod, TusServletRequest, TusServletResponse, UploadStorageService, String) - Method in class me.desair.tus.server.checksum.ChecksumPatchRequestHandler
 
process(HttpMethod, TusServletRequest, TusServletResponse, UploadStorageService, String) - Method in class me.desair.tus.server.concatenation.ConcatenationHeadRequestHandler
 
process(HttpMethod, TusServletRequest, TusServletResponse, UploadStorageService, String) - Method in class me.desair.tus.server.concatenation.ConcatenationPostRequestHandler
 
process(HttpMethod, TusServletRequest, TusServletResponse, UploadStorageService, String) - Method in class me.desair.tus.server.core.CoreDefaultResponseHeadersHandler
 
process(HttpMethod, TusServletRequest, TusServletResponse, UploadStorageService, String) - Method in class me.desair.tus.server.core.CoreHeadRequestHandler
 
process(HttpMethod, TusServletRequest, TusServletResponse, UploadStorageService, String) - Method in class me.desair.tus.server.core.CoreOptionsRequestHandler
 
process(HttpMethod, TusServletRequest, TusServletResponse, UploadStorageService, String) - Method in class me.desair.tus.server.core.CorePatchRequestHandler
 
process(HttpMethod, TusServletRequest, TusServletResponse, UploadStorageService, String) - Method in class me.desair.tus.server.creation.CreationHeadRequestHandler
 
process(HttpMethod, TusServletRequest, TusServletResponse, UploadStorageService, String) - Method in class me.desair.tus.server.creation.CreationPatchRequestHandler
 
process(HttpMethod, TusServletRequest, TusServletResponse, UploadStorageService, String) - Method in class me.desair.tus.server.creation.CreationPostRequestHandler
 
process(HttpMethod, TusServletRequest, TusServletResponse, UploadStorageService, String) - Method in class me.desair.tus.server.download.DownloadGetRequestHandler
 
process(HttpMethod, TusServletRequest, TusServletResponse, UploadStorageService, String) - Method in class me.desair.tus.server.expiration.ExpirationRequestHandler
 
process(HttpMethod, TusServletRequest, TusServletResponse, UploadStorageService, String) - Method in interface me.desair.tus.server.RequestHandler
 
process(HttpMethod, TusServletRequest, TusServletResponse, UploadStorageService, String) - Method in class me.desair.tus.server.termination.TerminationDeleteRequestHandler
 
process(HttpMethod, TusServletRequest, TusServletResponse, UploadStorageService, String) - Method in interface me.desair.tus.server.TusExtension
Process the given request
process(HttpMethod, TusServletRequest, TusServletResponse, UploadStorageService, String) - Method in class me.desair.tus.server.util.AbstractExtensionRequestHandler
 
process(HttpMethod, TusServletRequest, TusServletResponse, UploadStorageService, String) - Method in class me.desair.tus.server.util.AbstractTusExtension
 
processLockedRequest(HttpMethod, TusServletRequest, TusServletResponse, String) - Method in class me.desair.tus.server.TusFileUploadService
 
processTusException(HttpMethod, TusServletRequest, TusServletResponse, String, TusException) - Method in class me.desair.tus.server.TusFileUploadService
 
PUT - Enum constant in enum class me.desair.tus.server.HttpMethod
 

R

read() - Method in class me.desair.tus.server.util.HttpChunkedEncodingInputStream
Reads the next byte of data from the input stream.
read(byte[]) - Method in class me.desair.tus.server.util.HttpChunkedEncodingInputStream
Read some bytes from the stream.
read(byte[], int, int) - Method in class me.desair.tus.server.util.HttpChunkedEncodingInputStream
Read some bytes from the stream.
readSerializable(Path, Class<T>) - Static method in class me.desair.tus.server.util.Utils
 
readUploadId(String) - Method in class me.desair.tus.server.upload.UploadIdFactory
Read the upload identifier from the given URL.
REGULAR - Enum constant in enum class me.desair.tus.server.upload.UploadType
REGULAR indicates a normal upload
release() - Method in class me.desair.tus.server.upload.disk.FileBasedLock
 
release() - Method in interface me.desair.tus.server.upload.UploadLock
Method to release the lock on an upload when done processing it.
removeLastNumberOfBytes(UploadInfo, long) - Method in class me.desair.tus.server.upload.cache.ThreadLocalCachedStorageAndLockingService
 
removeLastNumberOfBytes(UploadInfo, long) - Method in class me.desair.tus.server.upload.disk.DiskStorageService
 
removeLastNumberOfBytes(UploadInfo, long) - Method in interface me.desair.tus.server.upload.UploadStorageService
Remove the given last amount of bytes from the uploaded data.
RequestHandler - Interface in me.desair.tus.server
 
RequestValidator - Interface in me.desair.tus.server
Interface for request validators

S

setConcatenationPartIds(List<String>) - Method in class me.desair.tus.server.upload.UploadInfo
Set the list of upload identifiers of which this upload is composed of.
setDateHeader(String, long) - Method in class me.desair.tus.server.util.TusServletResponse
 
setEncodedMetadata(String) - Method in class me.desair.tus.server.upload.UploadInfo
Set the encoded Tus metadata string as it was provided by the Tus client at creation of the upload.
setHeader(String, String) - Method in class me.desair.tus.server.util.TusServletResponse
 
setId(UploadId) - Method in class me.desair.tus.server.upload.UploadInfo
Set the unique identifier of this upload process The unique identifier is represented by a UploadId instance
setIdFactory(UploadIdFactory) - Method in class me.desair.tus.server.upload.cache.ThreadLocalCachedStorageAndLockingService
 
setIdFactory(UploadIdFactory) - Method in class me.desair.tus.server.upload.disk.DiskLockingService
 
setIdFactory(UploadIdFactory) - Method in class me.desair.tus.server.upload.disk.DiskStorageService
 
setIdFactory(UploadIdFactory) - Method in interface me.desair.tus.server.upload.UploadLockingService
Set an instance if IdFactory to be used for creating identities and extracting them from uploadUris.
setIdFactory(UploadIdFactory) - Method in interface me.desair.tus.server.upload.UploadStorageService
Set an instance if IdFactory to be used for creating identities and extracting them from uploadUris.
setIntHeader(String, int) - Method in class me.desair.tus.server.util.TusServletResponse
 
setLength(Long) - Method in class me.desair.tus.server.upload.UploadInfo
Set the total length of the byte array that the client wants to upload.
setMaxUploadSize(Long) - Method in class me.desair.tus.server.upload.cache.ThreadLocalCachedStorageAndLockingService
 
setMaxUploadSize(Long) - Method in class me.desair.tus.server.upload.disk.DiskStorageService
 
setMaxUploadSize(Long) - Method in interface me.desair.tus.server.upload.UploadStorageService
Limit the maximum upload size to the given value.
setOffset(Long) - Method in class me.desair.tus.server.upload.UploadInfo
Set the position where the next newly received byte should be stored.
setOwnerKey(String) - Method in class me.desair.tus.server.upload.UploadInfo
Set the owner key for this upload.
setUploadConcatenationService(UploadConcatenationService) - Method in class me.desair.tus.server.upload.cache.ThreadLocalCachedStorageAndLockingService
 
setUploadConcatenationService(UploadConcatenationService) - Method in class me.desair.tus.server.upload.disk.DiskStorageService
 
setUploadConcatenationService(UploadConcatenationService) - Method in interface me.desair.tus.server.upload.UploadStorageService
Set the UploadConcatenationService that this upload storage service should use.
setUploadConcatHeaderValue(String) - Method in class me.desair.tus.server.upload.UploadInfo
Set the original value of the "Upload-Concat" HTTP header that was provided by the client
setUploadExpirationPeriod(Long) - Method in class me.desair.tus.server.upload.cache.ThreadLocalCachedStorageAndLockingService
 
setUploadExpirationPeriod(Long) - Method in class me.desair.tus.server.upload.disk.DiskStorageService
 
setUploadExpirationPeriod(Long) - Method in interface me.desair.tus.server.upload.UploadStorageService
Set the expiration period after which an in-progress upload expires.
setUploadType(UploadType) - Method in class me.desair.tus.server.upload.UploadInfo
Set the type of this upload.
setUploadUri(String) - Method in class me.desair.tus.server.upload.UploadIdFactory
Set the URI under which the main tus upload endpoint is hosted.
SHA1 - Enum constant in enum class me.desair.tus.server.checksum.ChecksumAlgorithm
 
SHA256 - Enum constant in enum class me.desair.tus.server.checksum.ChecksumAlgorithm
 
SHA384 - Enum constant in enum class me.desair.tus.server.checksum.ChecksumAlgorithm
 
SHA512 - Enum constant in enum class me.desair.tus.server.checksum.ChecksumAlgorithm
 
sleep(long) - Static method in class me.desair.tus.server.util.Utils
Sleep the specified number of milliseconds
StoragePathNotAvailableException - Exception in me.desair.tus.server.upload.disk
Exception thrown when the disk storage path cannot be read or created.
StoragePathNotAvailableException(String, Throwable) - Constructor for exception me.desair.tus.server.upload.disk.StoragePathNotAvailableException
 
supports(HttpMethod) - Method in class me.desair.tus.server.checksum.ChecksumPatchRequestHandler
 
supports(HttpMethod) - Method in class me.desair.tus.server.checksum.validation.ChecksumAlgorithmValidator
 
supports(HttpMethod) - Method in class me.desair.tus.server.concatenation.ConcatenationHeadRequestHandler
 
supports(HttpMethod) - Method in class me.desair.tus.server.concatenation.ConcatenationPostRequestHandler
 
supports(HttpMethod) - Method in class me.desair.tus.server.concatenation.validation.NoUploadLengthOnFinalValidator
 
supports(HttpMethod) - Method in class me.desair.tus.server.concatenation.validation.PartialUploadsExistValidator
 
supports(HttpMethod) - Method in class me.desair.tus.server.concatenation.validation.PatchFinalUploadValidator
 
supports(HttpMethod) - Method in class me.desair.tus.server.core.CoreDefaultResponseHeadersHandler
 
supports(HttpMethod) - Method in class me.desair.tus.server.core.CoreHeadRequestHandler
 
supports(HttpMethod) - Method in class me.desair.tus.server.core.CoreOptionsRequestHandler
 
supports(HttpMethod) - Method in class me.desair.tus.server.core.CorePatchRequestHandler
 
supports(HttpMethod) - Method in class me.desair.tus.server.core.validation.ContentLengthValidator
 
supports(HttpMethod) - Method in class me.desair.tus.server.core.validation.ContentTypeValidator
 
supports(HttpMethod) - Method in class me.desair.tus.server.core.validation.HttpMethodValidator
 
supports(HttpMethod) - Method in class me.desair.tus.server.core.validation.IdExistsValidator
 
supports(HttpMethod) - Method in class me.desair.tus.server.core.validation.TusResumableValidator
 
supports(HttpMethod) - Method in class me.desair.tus.server.core.validation.UploadOffsetValidator
 
supports(HttpMethod) - Method in class me.desair.tus.server.creation.CreationHeadRequestHandler
 
supports(HttpMethod) - Method in class me.desair.tus.server.creation.CreationPatchRequestHandler
 
supports(HttpMethod) - Method in class me.desair.tus.server.creation.CreationPostRequestHandler
 
supports(HttpMethod) - Method in class me.desair.tus.server.creation.validation.PostEmptyRequestValidator
 
supports(HttpMethod) - Method in class me.desair.tus.server.creation.validation.PostUriValidator
 
supports(HttpMethod) - Method in class me.desair.tus.server.creation.validation.UploadDeferLengthValidator
 
supports(HttpMethod) - Method in class me.desair.tus.server.creation.validation.UploadLengthValidator
 
supports(HttpMethod) - Method in class me.desair.tus.server.download.DownloadGetRequestHandler
 
supports(HttpMethod) - Method in class me.desair.tus.server.expiration.ExpirationRequestHandler
 
supports(HttpMethod) - Method in interface me.desair.tus.server.RequestHandler
 
supports(HttpMethod) - Method in interface me.desair.tus.server.RequestValidator
Test if this validator supports the given HTTP method
supports(HttpMethod) - Method in class me.desair.tus.server.termination.TerminationDeleteRequestHandler
 
supports(HttpMethod) - Method in class me.desair.tus.server.util.AbstractExtensionRequestHandler
 

T

terminateUpload(UploadInfo) - Method in class me.desair.tus.server.upload.cache.ThreadLocalCachedStorageAndLockingService
 
terminateUpload(UploadInfo) - Method in class me.desair.tus.server.upload.disk.DiskStorageService
 
terminateUpload(UploadInfo) - Method in interface me.desair.tus.server.upload.UploadStorageService
Terminate completed and unfinished uploads allowing the Server to free up used resources.
TerminationDeleteRequestHandler - Class in me.desair.tus.server.termination
When receiving a DELETE request for an existing upload the Server SHOULD free associated resources and MUST respond with the 204 No Content status confirming that the upload was terminated.
TerminationDeleteRequestHandler() - Constructor for class me.desair.tus.server.termination.TerminationDeleteRequestHandler
 
TerminationExtension - Class in me.desair.tus.server.termination
This extension defines a way for the Client to terminate completed and unfinished uploads allowing the Server to free up used resources.
TerminationExtension() - Constructor for class me.desair.tus.server.termination.TerminationExtension
 
TerminationOptionsRequestHandler - Class in me.desair.tus.server.termination
Add our download extension the Tus-Extension header
TerminationOptionsRequestHandler() - Constructor for class me.desair.tus.server.termination.TerminationOptionsRequestHandler
 
ThreadLocalCachedStorageAndLockingService - Class in me.desair.tus.server.upload.cache
Combined implementation of UploadStorageService and UploadLockingService.
ThreadLocalCachedStorageAndLockingService(UploadStorageService, UploadLockingService) - Constructor for class me.desair.tus.server.upload.cache.ThreadLocalCachedStorageAndLockingService
Constructor of ThreadLocalCachedStorageAndLockingService.
TimeBasedUploadIdFactory - Class in me.desair.tus.server.upload
Alternative UploadIdFactory implementation that uses the current system time to generate ID's.
TimeBasedUploadIdFactory() - Constructor for class me.desair.tus.server.upload.TimeBasedUploadIdFactory
 
toString() - Method in enum class me.desair.tus.server.checksum.ChecksumAlgorithm
 
toString() - Method in class me.desair.tus.server.upload.UploadId
 
TRACE - Enum constant in enum class me.desair.tus.server.HttpMethod
 
TRANSFER_ENCODING - Static variable in class me.desair.tus.server.HttpHeader
The Transfer-Encoding header specifies the form of encoding used to safely transfer the entity to the user.
TUS_API_VERSION - Static variable in class me.desair.tus.server.TusFileUploadService
 
TUS_CHECKSUM_ALGORITHM - Static variable in class me.desair.tus.server.HttpHeader
The Tus-Checksum-Algorithm response header MUST be a comma-separated list of the checksum algorithms supported by the server.
TUS_EXTENSION - Static variable in class me.desair.tus.server.HttpHeader
The Tus-Extension response header MUST be a comma-separated list of the extensions supported by the Server.
TUS_MAX_SIZE - Static variable in class me.desair.tus.server.HttpHeader
The Tus-Max-Size response header MUST be a non-negative integer indicating the maximum allowed size of an entire upload in bytes.
TUS_RESUMABLE - Static variable in class me.desair.tus.server.HttpHeader
The Tus-Resumable header MUST be included in every request and response except for OPTIONS requests.
TUS_VERSION - Static variable in class me.desair.tus.server.HttpHeader
The Tus-Version response header MUST be a comma-separated list of protocol versions supported by the Server.
TusException - Exception in me.desair.tus.server.exception
Super class for exception in the tus protocol
TusException(int, String) - Constructor for exception me.desair.tus.server.exception.TusException
 
TusException(int, String, Throwable) - Constructor for exception me.desair.tus.server.exception.TusException
 
TusExtension - Interface in me.desair.tus.server
Interface that represents an extension in the tus protocol
TusFileUploadService - Class in me.desair.tus.server
Helper class that implements the server side tus v1.0.0 upload protocol
TusFileUploadService() - Constructor for class me.desair.tus.server.TusFileUploadService
 
TusResumableValidator - Class in me.desair.tus.server.core.validation
Class that will validate if the tus version in the request corresponds to our implementation version
The Tus-Resumable header MUST be included in every request and response except for OPTIONS requests.
TusResumableValidator() - Constructor for class me.desair.tus.server.core.validation.TusResumableValidator
 
TusServletRequest - Class in me.desair.tus.server.util
 
TusServletRequest(HttpServletRequest) - Constructor for class me.desair.tus.server.util.TusServletRequest
Constructs a request object wrapping the given request.
TusServletRequest(HttpServletRequest, boolean) - Constructor for class me.desair.tus.server.util.TusServletRequest
Constructs a request object wrapping the given request.
TusServletResponse - Class in me.desair.tus.server.util
HttpServletResponseWrapper to capture header values set on the current HttpServletResponse.
TusServletResponse(HttpServletResponse) - Constructor for class me.desair.tus.server.util.TusServletResponse
Constructs a response adaptor wrapping the given response.

U

UnsupportedMethodException - Exception in me.desair.tus.server.exception
Exception thrown when we receive a HTTP request with a method name that we do not support
UnsupportedMethodException(String) - Constructor for exception me.desair.tus.server.exception.UnsupportedMethodException
 
update(UploadInfo) - Method in class me.desair.tus.server.upload.cache.ThreadLocalCachedStorageAndLockingService
 
update(UploadInfo) - Method in class me.desair.tus.server.upload.disk.DiskStorageService
 
update(UploadInfo) - Method in interface me.desair.tus.server.upload.UploadStorageService
Update the upload information for the provided ID.
updateExpiration(long) - Method in class me.desair.tus.server.upload.UploadInfo
Calculate the expiration timestamp based on the provided expiration period.
UPLOAD_CHECKSUM - Static variable in class me.desair.tus.server.HttpHeader
The Upload-Checksum request header contains information about the checksum of the current body payload.
UPLOAD_CONCAT - Static variable in class me.desair.tus.server.HttpHeader
The Upload-Concat request and response header MUST be set in both partial and upload creation requests.
UPLOAD_DEFER_LENGTH - Static variable in class me.desair.tus.server.HttpHeader
The Upload-Defer-Length request and response header indicates that the size of the upload is not known currently and will be transferred later.
UPLOAD_EXPIRES - Static variable in class me.desair.tus.server.HttpHeader
The Upload-Expires response header indicates the time after which the unfinished upload expires.
UPLOAD_LENGTH - Static variable in class me.desair.tus.server.HttpHeader
The Upload-Length request and response header indicates the size of the entire upload in bytes.
UPLOAD_METADATA - Static variable in class me.desair.tus.server.HttpHeader
 
UPLOAD_OFFSET - Static variable in class me.desair.tus.server.HttpHeader
The Upload-Offset request and response header indicates a byte offset within a resource.
UploadAlreadyLockedException - Exception in me.desair.tus.server.exception
 
UploadAlreadyLockedException(String) - Constructor for exception me.desair.tus.server.exception.UploadAlreadyLockedException
 
UploadChecksumMismatchException - Exception in me.desair.tus.server.exception
Exception thrown when the client provided checksum does not match the checksum calculated by the server
UploadChecksumMismatchException(String) - Constructor for exception me.desair.tus.server.exception.UploadChecksumMismatchException
 
UploadConcatenationService - Interface in me.desair.tus.server.upload.concatenation
Interface for a service that is able to concatenate partial uploads into a concatenated upload
UploadDeferLengthValidator - Class in me.desair.tus.server.creation.validation
The request MUST include one of the following headers: a) Upload-Length to indicate the size of an entire upload in bytes. b) Upload-Defer-Length: 1 if upload size is not known at the time.
UploadDeferLengthValidator() - Constructor for class me.desair.tus.server.creation.validation.UploadDeferLengthValidator
 
UploadId - Class in me.desair.tus.server.upload
The unique identifier of an upload process in the tus protocol
UploadId(Serializable) - Constructor for class me.desair.tus.server.upload.UploadId
Create a new UploadId instance based on the provided object using it's toString method.
UploadIdFactory - Class in me.desair.tus.server.upload
Interface for a factory that can create unique upload IDs.
UploadIdFactory() - Constructor for class me.desair.tus.server.upload.UploadIdFactory
 
UploadInfo - Class in me.desair.tus.server.upload
Class that contains all metadata on an upload process.
UploadInfo() - Constructor for class me.desair.tus.server.upload.UploadInfo
Default constructor to use if an upload is created without HTTP request
UploadInfo(HttpServletRequest) - Constructor for class me.desair.tus.server.upload.UploadInfo
Constructor to use if the upload is created using an HTTP request (which is usually the case)
UploadInProgressException - Exception in me.desair.tus.server.exception
Exception thrown when accessing an upload that is still in progress and this is not supported by the operation
UploadInProgressException(String) - Constructor for exception me.desair.tus.server.exception.UploadInProgressException
 
UploadInputStreamEnumeration - Class in me.desair.tus.server.upload.concatenation
Enumeration class that enumerates all input streams associated with with given list of uploads
UploadInputStreamEnumeration(List<UploadInfo>, UploadStorageService) - Constructor for class me.desair.tus.server.upload.concatenation.UploadInputStreamEnumeration
 
UploadLengthNotAllowedOnConcatenationException - Exception in me.desair.tus.server.exception
Exception thrown when the Client includes the Upload-Length header in the upload creation.
UploadLengthNotAllowedOnConcatenationException(String) - Constructor for exception me.desair.tus.server.exception.UploadLengthNotAllowedOnConcatenationException
 
UploadLengthValidator - Class in me.desair.tus.server.creation.validation
If the length of the upload exceeds the maximum, which MAY be specified using the Tus-Max-Size header, the Server MUST respond with the 413 Request Entity Too Large status.
UploadLengthValidator() - Constructor for class me.desair.tus.server.creation.validation.UploadLengthValidator
 
UploadLock - Interface in me.desair.tus.server.upload
Interface that represents a lock on an upload
UploadLockingService - Interface in me.desair.tus.server.upload
Service interface that can lock a specific upload so that it cannot be modified by other requests/threads.
UploadNotFoundException - Exception in me.desair.tus.server.exception
Exception thrown when the given upload ID was not found
If the resource is not found, the Server SHOULD return either the 404 Not Found, 410 Gone or 403 Forbidden status without the Upload-Offset header.
UploadNotFoundException(String) - Constructor for exception me.desair.tus.server.exception.UploadNotFoundException
 
UploadOffsetMismatchException - Exception in me.desair.tus.server.exception
If the offsets do not match, the Server MUST respond with the 409 Conflict status without modifying the upload resource.
UploadOffsetMismatchException(String) - Constructor for exception me.desair.tus.server.exception.UploadOffsetMismatchException
 
UploadOffsetValidator - Class in me.desair.tus.server.core.validation
The Upload-Offset header’s value MUST be equal to the current offset of the resource.
UploadOffsetValidator() - Constructor for class me.desair.tus.server.core.validation.UploadOffsetValidator
 
UploadStorageService - Interface in me.desair.tus.server.upload
Interface to a service that is able to store the (partially) uploaded files.
UploadType - Enum Class in me.desair.tus.server.upload
Enum that lists all the possible upload types in the tus protocol
Utils - Class in me.desair.tus.server.util
Utility class that contains various static helper methods
UuidUploadIdFactory - Class in me.desair.tus.server.upload
Factory to create unique upload IDs.
UuidUploadIdFactory() - Constructor for class me.desair.tus.server.upload.UuidUploadIdFactory
 

V

validate(HttpMethod, HttpServletRequest, UploadStorageService, String) - Method in class me.desair.tus.server.checksum.validation.ChecksumAlgorithmValidator
 
validate(HttpMethod, HttpServletRequest, UploadStorageService, String) - Method in class me.desair.tus.server.concatenation.validation.NoUploadLengthOnFinalValidator
 
validate(HttpMethod, HttpServletRequest, UploadStorageService, String) - Method in class me.desair.tus.server.concatenation.validation.PartialUploadsExistValidator
 
validate(HttpMethod, HttpServletRequest, UploadStorageService, String) - Method in class me.desair.tus.server.concatenation.validation.PatchFinalUploadValidator
 
validate(HttpMethod, HttpServletRequest, UploadStorageService, String) - Method in class me.desair.tus.server.core.validation.ContentLengthValidator
 
validate(HttpMethod, HttpServletRequest, UploadStorageService, String) - Method in class me.desair.tus.server.core.validation.ContentTypeValidator
 
validate(HttpMethod, HttpServletRequest, UploadStorageService, String) - Method in class me.desair.tus.server.core.validation.HttpMethodValidator
 
validate(HttpMethod, HttpServletRequest, UploadStorageService, String) - Method in class me.desair.tus.server.core.validation.IdExistsValidator
 
validate(HttpMethod, HttpServletRequest, UploadStorageService, String) - Method in class me.desair.tus.server.core.validation.TusResumableValidator
 
validate(HttpMethod, HttpServletRequest, UploadStorageService, String) - Method in class me.desair.tus.server.core.validation.UploadOffsetValidator
 
validate(HttpMethod, HttpServletRequest, UploadStorageService, String) - Method in class me.desair.tus.server.creation.validation.PostEmptyRequestValidator
 
validate(HttpMethod, HttpServletRequest, UploadStorageService, String) - Method in class me.desair.tus.server.creation.validation.PostUriValidator
 
validate(HttpMethod, HttpServletRequest, UploadStorageService, String) - Method in class me.desair.tus.server.creation.validation.UploadDeferLengthValidator
 
validate(HttpMethod, HttpServletRequest, UploadStorageService, String) - Method in class me.desair.tus.server.creation.validation.UploadLengthValidator
 
validate(HttpMethod, HttpServletRequest, UploadStorageService, String) - Method in interface me.desair.tus.server.RequestValidator
Validate if the request should be processed
validate(HttpMethod, HttpServletRequest, UploadStorageService, String) - Method in interface me.desair.tus.server.TusExtension
Validate the given request
validate(HttpMethod, HttpServletRequest, UploadStorageService, String) - Method in class me.desair.tus.server.util.AbstractTusExtension
 
validateRequest(HttpMethod, HttpServletRequest, String) - Method in class me.desair.tus.server.TusFileUploadService
 
valueOf(String) - Static method in enum class me.desair.tus.server.checksum.ChecksumAlgorithm
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class me.desair.tus.server.HttpMethod
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class me.desair.tus.server.upload.UploadType
Returns the enum constant of this class with the specified name.
values() - Static method in enum class me.desair.tus.server.checksum.ChecksumAlgorithm
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class me.desair.tus.server.HttpMethod
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class me.desair.tus.server.upload.UploadType
Returns an array containing the constants of this enum class, in the order they are declared.
VirtualConcatenationService - Class in me.desair.tus.server.upload.concatenation
UploadConcatenationService implementation that uses the file system to keep track of concatenated uploads.
VirtualConcatenationService(UploadStorageService) - Constructor for class me.desair.tus.server.upload.concatenation.VirtualConcatenationService
 

W

withChunkedTransferDecoding(boolean) - Method in class me.desair.tus.server.TusFileUploadService
Instruct this service to (not) decode any requests with Transfer-Encoding value "chunked".
withDownloadFeature() - Method in class me.desair.tus.server.TusFileUploadService
Enable the unofficial `download` extension that also allows you to download uploaded bytes.
withMaxUploadSize(Long) - Method in class me.desair.tus.server.TusFileUploadService
Specify the maximum number of bytes that can be uploaded per upload.
withStoragePath(String) - Method in class me.desair.tus.server.TusFileUploadService
If you're using the default file system-based storage service, you can use this method to specify the path where to store the uploaded bytes and upload information.
withThreadLocalCache(boolean) - Method in class me.desair.tus.server.TusFileUploadService
Enable or disable a thread-local based cache of upload data.
withUploadExpirationPeriod(Long) - Method in class me.desair.tus.server.TusFileUploadService
You can set the number of milliseconds after which an upload is considered as expired and available for cleanup.
withUploadIdFactory(UploadIdFactory) - Method in class me.desair.tus.server.TusFileUploadService
Provide a custom UploadIdFactory implementation that should be used to generate identifiers for the different uploads.
withUploadLockingService(UploadLockingService) - Method in class me.desair.tus.server.TusFileUploadService
Provide a custom UploadLockingService implementation that should be used when processing uploads.
withUploadStorageService(UploadStorageService) - Method in class me.desair.tus.server.TusFileUploadService
Provide a custom UploadStorageService implementation that should be used to store uploaded bytes and metadata (UploadInfo).
withUploadUri(String) - Method in class me.desair.tus.server.TusFileUploadService
Set the URI under which the main tus upload endpoint is hosted.
writeSerializable(Serializable, Path) - Static method in class me.desair.tus.server.util.Utils
 

X

X_FORWARDED_FOR - Static variable in class me.desair.tus.server.HttpHeader
The X-Forwarded-For (XFF) HTTP header field is a common method for identifying the originating IP address of a client connecting to a web server through an HTTP proxy or load balancer.
A B C D E F G H I L M N O P R S T U V W X 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form