Uses of Class
me.desair.tus.server.exception.TusException
Package
Description
-
Uses of TusException in me.desair.tus.server
Modifier and TypeMethodDescriptionprotected void
TusFileUploadService.processTusException
(HttpMethod method, TusServletRequest request, TusServletResponse response, String ownerKey, TusException exception) Modifier and TypeMethodDescriptionvoid
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) TusFileUploadService.getUploadedBytes
(String uploadUri) Method to retrieve the bytes that were uploaded to a specific upload URI.TusFileUploadService.getUploadedBytes
(String uploadUri, String ownerKey) Method to retrieve the bytes that were uploaded to a specific upload URI.TusFileUploadService.getUploadInfo
(String uploadUri) Get the information on the upload corresponding to the given upload URI.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
RequestHandler.process
(HttpMethod method, TusServletRequest servletRequest, TusServletResponse servletResponse, UploadStorageService uploadStorageService, String ownerKey) void
TusExtension.process
(HttpMethod method, TusServletRequest servletRequest, TusServletResponse servletResponse, UploadStorageService uploadStorageService, String ownerKey) Process the given requestvoid
RequestValidator.validate
(HttpMethod method, jakarta.servlet.http.HttpServletRequest request, UploadStorageService uploadStorageService, String ownerKey) Validate if the request should be processedvoid
TusExtension.validate
(HttpMethod method, jakarta.servlet.http.HttpServletRequest servletRequest, UploadStorageService uploadStorageService, String ownerKey) Validate the given requestprotected void
TusFileUploadService.validateRequest
(HttpMethod method, jakarta.servlet.http.HttpServletRequest servletRequest, String ownerKey) -
Uses of TusException in me.desair.tus.server.checksum
Modifier and TypeMethodDescriptionvoid
ChecksumPatchRequestHandler.process
(HttpMethod method, TusServletRequest servletRequest, TusServletResponse servletResponse, UploadStorageService uploadStorageService, String ownerKey) -
Uses of TusException in me.desair.tus.server.checksum.validation
Modifier and TypeMethodDescriptionvoid
ChecksumAlgorithmValidator.validate
(HttpMethod method, jakarta.servlet.http.HttpServletRequest request, UploadStorageService uploadStorageService, String ownerKey) -
Uses of TusException in me.desair.tus.server.concatenation
Modifier and TypeMethodDescriptionvoid
ConcatenationHeadRequestHandler.process
(HttpMethod method, TusServletRequest servletRequest, TusServletResponse servletResponse, UploadStorageService uploadStorageService, String ownerKey) void
ConcatenationPostRequestHandler.process
(HttpMethod method, TusServletRequest servletRequest, TusServletResponse servletResponse, UploadStorageService uploadStorageService, String ownerKey) -
Uses of TusException in me.desair.tus.server.concatenation.validation
Modifier and TypeMethodDescriptionvoid
NoUploadLengthOnFinalValidator.validate
(HttpMethod method, jakarta.servlet.http.HttpServletRequest request, UploadStorageService uploadStorageService, String ownerKey) void
PartialUploadsExistValidator.validate
(HttpMethod method, jakarta.servlet.http.HttpServletRequest request, UploadStorageService uploadStorageService, String ownerKey) void
PatchFinalUploadValidator.validate
(HttpMethod method, jakarta.servlet.http.HttpServletRequest request, UploadStorageService uploadStorageService, String ownerKey) -
Uses of TusException in me.desair.tus.server.core
Modifier and TypeMethodDescriptionvoid
CorePatchRequestHandler.process
(HttpMethod method, TusServletRequest servletRequest, TusServletResponse servletResponse, UploadStorageService uploadStorageService, String ownerKey) -
Uses of TusException in me.desair.tus.server.core.validation
Modifier and TypeMethodDescriptionvoid
ContentLengthValidator.validate
(HttpMethod method, jakarta.servlet.http.HttpServletRequest request, UploadStorageService uploadStorageService, String ownerKey) void
ContentTypeValidator.validate
(HttpMethod method, jakarta.servlet.http.HttpServletRequest request, UploadStorageService uploadStorageService, String ownerKey) void
HttpMethodValidator.validate
(HttpMethod method, jakarta.servlet.http.HttpServletRequest request, UploadStorageService uploadStorageService, String ownerKey) void
IdExistsValidator.validate
(HttpMethod method, jakarta.servlet.http.HttpServletRequest request, UploadStorageService uploadStorageService, String ownerKey) void
TusResumableValidator.validate
(HttpMethod method, jakarta.servlet.http.HttpServletRequest request, UploadStorageService uploadStorageService, String ownerKey) void
UploadOffsetValidator.validate
(HttpMethod method, jakarta.servlet.http.HttpServletRequest request, UploadStorageService uploadStorageService, String ownerKey) -
Uses of TusException in me.desair.tus.server.creation.validation
Modifier and TypeMethodDescriptionvoid
PostEmptyRequestValidator.validate
(HttpMethod method, jakarta.servlet.http.HttpServletRequest request, UploadStorageService uploadStorageService, String ownerKey) void
PostUriValidator.validate
(HttpMethod method, jakarta.servlet.http.HttpServletRequest request, UploadStorageService uploadStorageService, String ownerKey) void
UploadDeferLengthValidator.validate
(HttpMethod method, jakarta.servlet.http.HttpServletRequest request, UploadStorageService uploadStorageService, String ownerKey) void
UploadLengthValidator.validate
(HttpMethod method, jakarta.servlet.http.HttpServletRequest request, UploadStorageService uploadStorageService, String ownerKey) -
Uses of TusException in me.desair.tus.server.download
Modifier and TypeMethodDescriptionvoid
DownloadGetRequestHandler.process
(HttpMethod method, TusServletRequest servletRequest, TusServletResponse servletResponse, UploadStorageService uploadStorageService, String ownerKey) -
Uses of TusException in me.desair.tus.server.exception
Modifier and TypeClassDescriptionclass
Exception thrown when the client sends a request for a checksum algorithm we do not supportclass
class
Exception thrown when the request has an invalid content type.class
Exception thrown when the Upload-Concat header contains an ID which is not valid.class
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
Exception thrown when no valid Upload-Length or Upload-Defer-Length header is foundclass
class
Exception thrown when the given upload length exceeds or internally defined maximumclass
The Server MUST respond with the 403 Forbidden status to PATCH requests against a upload URLclass
Exception thrown when a POST request was received on an invalid URIclass
Exception thrown when we receive a HTTP request with a method name that we do not supportclass
class
Exception thrown when the client provided checksum does not match the checksum calculated by the serverclass
Exception thrown when accessing an upload that is still in progress and this is not supported by the operationclass
Exception thrown when the Client includes the Upload-Length header in the upload creation.class
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
If the offsets do not match, the Server MUST respond with the 409 Conflict status without modifying the upload resource. -
Uses of TusException in me.desair.tus.server.expiration
Modifier and TypeMethodDescriptionvoid
ExpirationRequestHandler.process
(HttpMethod method, TusServletRequest servletRequest, TusServletResponse servletResponse, UploadStorageService uploadStorageService, String ownerKey) -
Uses of TusException in me.desair.tus.server.termination
Modifier and TypeMethodDescriptionvoid
TerminationDeleteRequestHandler.process
(HttpMethod method, TusServletRequest servletRequest, TusServletResponse servletResponse, UploadStorageService uploadStorageService, String ownerKey) -
Uses of TusException in me.desair.tus.server.upload
Modifier and TypeMethodDescriptionUploadStorageService.append
(UploadInfo upload, InputStream inputStream) Append the bytes in the giveInputStream
to the upload with the given ID starting at the provided offset.UploadLockingService.lockUploadByUri
(String requestUri) If the given URI represents a valid upload, lock that upload for processing. -
Uses of TusException in me.desair.tus.server.upload.cache
Modifier and TypeMethodDescriptionThreadLocalCachedStorageAndLockingService.append
(UploadInfo upload, InputStream inputStream) ThreadLocalCachedStorageAndLockingService.lockUploadByUri
(String requestUri) -
Uses of TusException in me.desair.tus.server.upload.disk
Modifier and TypeMethodDescriptionDiskStorageService.append
(UploadInfo info, InputStream inputStream) DiskLockingService.lockUploadByUri
(String requestUri) -
Uses of TusException in me.desair.tus.server.util
Modifier and TypeMethodDescriptionvoid
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, jakarta.servlet.http.HttpServletRequest servletRequest, UploadStorageService uploadStorageService, String ownerKey)