| Modifier and Type | Method and Description |
|---|---|
protected void |
TusFileUploadService.processTusException(HttpMethod method,
TusServletRequest request,
TusServletResponse response,
String ownerKey,
TusException exception) |
| Modifier and Type | Method and Description |
|---|---|
void |
TusFileUploadService.deleteUpload(String uploadURI)
Method to delete an upload associated with the given upload URL.
|
void |
TusFileUploadService.deleteUpload(String uploadURI,
String ownerKey)
Method to delete an upload associated with the given upload URL.
|
protected void |
TusFileUploadService.executeProcessingByFeatures(HttpMethod method,
TusServletRequest servletRequest,
TusServletResponse servletResponse,
String ownerKey) |
InputStream |
TusFileUploadService.getUploadedBytes(String uploadURI)
Method to retrieve the bytes that were uploaded to a specific upload URI
|
InputStream |
TusFileUploadService.getUploadedBytes(String uploadURI,
String ownerKey)
Method to retrieve the bytes that were uploaded to a specific upload URI
|
UploadInfo |
TusFileUploadService.getUploadInfo(String uploadURI)
Get the information on the upload corresponding to the given upload URI
|
UploadInfo |
TusFileUploadService.getUploadInfo(String uploadURI,
String ownerKey)
Get the information on the upload corresponding to the given upload URI
|
void |
TusExtension.handleError(HttpMethod method,
TusServletRequest servletRequest,
TusServletResponse servletResponse,
UploadStorageService uploadStorageService,
String ownerKey)
If a request is invalid, or when processing the request fails, it might be necessary to react to this failure.
|
void |
TusExtension.process(HttpMethod method,
TusServletRequest servletRequest,
TusServletResponse servletResponse,
UploadStorageService uploadStorageService,
String ownerKey)
Process the given request
|
void |
RequestHandler.process(HttpMethod method,
TusServletRequest servletRequest,
TusServletResponse servletResponse,
UploadStorageService uploadStorageService,
String ownerKey) |
void |
TusExtension.validate(HttpMethod method,
javax.servlet.http.HttpServletRequest servletRequest,
UploadStorageService uploadStorageService,
String ownerKey)
Validate the given request
|
void |
RequestValidator.validate(HttpMethod method,
javax.servlet.http.HttpServletRequest request,
UploadStorageService uploadStorageService,
String ownerKey)
Validate if the request should be processed
|
protected void |
TusFileUploadService.validateRequest(HttpMethod method,
javax.servlet.http.HttpServletRequest servletRequest,
String ownerKey) |
| Modifier and Type | Method and Description |
|---|---|
void |
ChecksumPatchRequestHandler.process(HttpMethod method,
TusServletRequest servletRequest,
TusServletResponse servletResponse,
UploadStorageService uploadStorageService,
String ownerKey) |
| Modifier and Type | Method and Description |
|---|---|
void |
ChecksumAlgorithmValidator.validate(HttpMethod method,
javax.servlet.http.HttpServletRequest request,
UploadStorageService uploadStorageService,
String ownerKey) |
| Modifier and Type | Method and Description |
|---|---|
void |
ConcatenationPostRequestHandler.process(HttpMethod method,
TusServletRequest servletRequest,
TusServletResponse servletResponse,
UploadStorageService uploadStorageService,
String ownerKey) |
void |
ConcatenationHeadRequestHandler.process(HttpMethod method,
TusServletRequest servletRequest,
TusServletResponse servletResponse,
UploadStorageService uploadStorageService,
String ownerKey) |
| Modifier and Type | Method and Description |
|---|---|
void |
PatchFinalUploadValidator.validate(HttpMethod method,
javax.servlet.http.HttpServletRequest request,
UploadStorageService uploadStorageService,
String ownerKey) |
void |
PartialUploadsExistValidator.validate(HttpMethod method,
javax.servlet.http.HttpServletRequest request,
UploadStorageService uploadStorageService,
String ownerKey) |
void |
NoUploadLengthOnFinalValidator.validate(HttpMethod method,
javax.servlet.http.HttpServletRequest request,
UploadStorageService uploadStorageService,
String ownerKey) |
| Modifier and Type | Method and Description |
|---|---|
void |
CorePatchRequestHandler.process(HttpMethod method,
TusServletRequest servletRequest,
TusServletResponse servletResponse,
UploadStorageService uploadStorageService,
String ownerKey) |
| Modifier and Type | Method and Description |
|---|---|
void |
UploadOffsetValidator.validate(HttpMethod method,
javax.servlet.http.HttpServletRequest request,
UploadStorageService uploadStorageService,
String ownerKey) |
void |
TusResumableValidator.validate(HttpMethod method,
javax.servlet.http.HttpServletRequest request,
UploadStorageService uploadStorageService,
String ownerKey) |
void |
IdExistsValidator.validate(HttpMethod method,
javax.servlet.http.HttpServletRequest request,
UploadStorageService uploadStorageService,
String ownerKey) |
void |
HttpMethodValidator.validate(HttpMethod method,
javax.servlet.http.HttpServletRequest request,
UploadStorageService uploadStorageService,
String ownerKey) |
void |
ContentTypeValidator.validate(HttpMethod method,
javax.servlet.http.HttpServletRequest request,
UploadStorageService uploadStorageService,
String ownerKey) |
void |
ContentLengthValidator.validate(HttpMethod method,
javax.servlet.http.HttpServletRequest request,
UploadStorageService uploadStorageService,
String ownerKey) |
| Modifier and Type | Method and Description |
|---|---|
void |
UploadLengthValidator.validate(HttpMethod method,
javax.servlet.http.HttpServletRequest request,
UploadStorageService uploadStorageService,
String ownerKey) |
void |
UploadDeferLengthValidator.validate(HttpMethod method,
javax.servlet.http.HttpServletRequest request,
UploadStorageService uploadStorageService,
String ownerKey) |
void |
PostURIValidator.validate(HttpMethod method,
javax.servlet.http.HttpServletRequest request,
UploadStorageService uploadStorageService,
String ownerKey) |
void |
PostEmptyRequestValidator.validate(HttpMethod method,
javax.servlet.http.HttpServletRequest request,
UploadStorageService uploadStorageService,
String ownerKey) |
| Modifier and Type | Method and Description |
|---|---|
void |
DownloadGetRequestHandler.process(HttpMethod method,
TusServletRequest servletRequest,
TusServletResponse servletResponse,
UploadStorageService uploadStorageService,
String ownerKey) |
| Modifier and Type | Class and Description |
|---|---|
class |
ChecksumAlgorithmNotSupportedException
Exception thrown when the client sends a request for a checksum algorithm we do not support
|
class |
InvalidContentLengthException |
class |
InvalidContentTypeException
Exception thrown when the request has an invalid content type.
|
class |
InvalidPartialUploadIdException
Exception thrown when the Upload-Concat header contains an ID which is not valid
|
class |
InvalidTusResumableException
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.
|
class |
InvalidUploadLengthException
Exception thrown when no valid Upload-Length or Upload-Defer-Length header is found
|
class |
InvalidUploadOffsetException |
class |
MaxUploadLengthExceededException
Exception thrown when the given upload length exceeds or internally defined maximum
|
class |
PatchOnFinalUploadNotAllowedException
The Server MUST respond with the 403 Forbidden status to PATCH requests against a upload URL
|
class |
PostOnInvalidRequestURIException
Exception thrown when a POST request was received on an invalid URI
|
class |
UnsupportedMethodException
Exception thrown when we receive a HTTP request with a method name that we do not support
|
class |
UploadAlreadyLockedException |
class |
UploadChecksumMismatchException
Exception thrown when the client provided checksum does not match the checksum calculated by the server
|
class |
UploadInProgressException
Exception thrown when accessing an upload that is still in progress and this
is not supported by the operation
|
class |
UploadLengthNotAllowedOnConcatenationException
Exception thrown when the Client includes the Upload-Length header in the upload creation.
|
class |
UploadNotFoundException
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.
|
class |
UploadOffsetMismatchException
If the offsets do not match, the Server MUST respond with the
409 Conflict status without modifying the upload resource.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ExpirationRequestHandler.process(HttpMethod method,
TusServletRequest servletRequest,
TusServletResponse servletResponse,
UploadStorageService uploadStorageService,
String ownerKey) |
| Modifier and Type | Method and Description |
|---|---|
void |
TerminationDeleteRequestHandler.process(HttpMethod method,
TusServletRequest servletRequest,
TusServletResponse servletResponse,
UploadStorageService uploadStorageService,
String ownerKey) |
| Modifier and Type | Method and Description |
|---|---|
UploadInfo |
UploadStorageService.append(UploadInfo upload,
InputStream inputStream)
Append the bytes in the give
InputStream to the upload with the given ID starting at the provided offset. |
UploadLock |
UploadLockingService.lockUploadByUri(String requestURI)
If the given URI represents a valid upload, lock that upload for processing
|
| Modifier and Type | Method and Description |
|---|---|
UploadInfo |
ThreadLocalCachedStorageAndLockingService.append(UploadInfo upload,
InputStream inputStream) |
UploadLock |
ThreadLocalCachedStorageAndLockingService.lockUploadByUri(String requestURI) |
| Modifier and Type | Method and Description |
|---|---|
UploadInfo |
DiskStorageService.append(UploadInfo info,
InputStream inputStream) |
UploadLock |
DiskLockingService.lockUploadByUri(String requestURI) |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractTusExtension.handleError(HttpMethod method,
TusServletRequest request,
TusServletResponse response,
UploadStorageService uploadStorageService,
String ownerKey) |
void |
AbstractTusExtension.process(HttpMethod method,
TusServletRequest servletRequest,
TusServletResponse servletResponse,
UploadStorageService uploadStorageService,
String ownerKey) |
void |
AbstractTusExtension.validate(HttpMethod method,
javax.servlet.http.HttpServletRequest servletRequest,
UploadStorageService uploadStorageService,
String ownerKey) |
Copyright © 2019. All rights reserved.