| Modifier and Type | Method and Description |
|---|---|
static HttpMethod |
HttpMethod.forName(String name) |
static HttpMethod |
HttpMethod.getMethodIfSupported(javax.servlet.http.HttpServletRequest request,
Set<HttpMethod> supportedHttpMethods) |
static HttpMethod |
HttpMethod.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpMethod[] |
HttpMethod.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<HttpMethod> |
TusExtension.getMinimalSupportedHttpMethods()
The minimal list of HTTP methods that this extension needs to function properly
|
Set<HttpMethod> |
TusFileUploadService.getSupportedHttpMethods()
Get all HTTP methods that are supported by this TusUploadService based on the enabled and/or disabled
tus extensions
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
TusFileUploadService.executeProcessingByFeatures(HttpMethod method,
TusServletRequest servletRequest,
TusServletResponse servletResponse,
String ownerKey) |
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) |
protected void |
TusFileUploadService.processLockedRequest(HttpMethod method,
TusServletRequest request,
TusServletResponse response,
String ownerKey) |
protected void |
TusFileUploadService.processTusException(HttpMethod method,
TusServletRequest request,
TusServletResponse response,
String ownerKey,
TusException exception) |
boolean |
RequestValidator.supports(HttpMethod method)
Test if this validator supports the given HTTP method
|
boolean |
RequestHandler.supports(HttpMethod method) |
void |
RequestValidator.validate(HttpMethod method,
javax.servlet.http.HttpServletRequest request,
UploadStorageService uploadStorageService,
String ownerKey)
Validate if the request should be processed
|
void |
TusExtension.validate(HttpMethod method,
javax.servlet.http.HttpServletRequest servletRequest,
UploadStorageService uploadStorageService,
String ownerKey)
Validate the given request
|
protected void |
TusFileUploadService.validateRequest(HttpMethod method,
javax.servlet.http.HttpServletRequest servletRequest,
String ownerKey) |
| Modifier and Type | Method and Description |
|---|---|
static HttpMethod |
HttpMethod.getMethodIfSupported(javax.servlet.http.HttpServletRequest request,
Set<HttpMethod> supportedHttpMethods) |
| Modifier and Type | Method and Description |
|---|---|
Collection<HttpMethod> |
ChecksumExtension.getMinimalSupportedHttpMethods() |
| Modifier and Type | Method and Description |
|---|---|
void |
ChecksumPatchRequestHandler.process(HttpMethod method,
TusServletRequest servletRequest,
TusServletResponse servletResponse,
UploadStorageService uploadStorageService,
String ownerKey) |
void |
ChecksumOptionsRequestHandler.process(HttpMethod method,
TusServletRequest servletRequest,
TusServletResponse servletResponse,
UploadStorageService uploadStorageService,
String ownerKey) |
boolean |
ChecksumPatchRequestHandler.supports(HttpMethod method) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ChecksumAlgorithmValidator.supports(HttpMethod method) |
void |
ChecksumAlgorithmValidator.validate(HttpMethod method,
javax.servlet.http.HttpServletRequest request,
UploadStorageService uploadStorageService,
String ownerKey) |
| Modifier and Type | Method and Description |
|---|---|
Collection<HttpMethod> |
ConcatenationExtension.getMinimalSupportedHttpMethods() |
| 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) |
boolean |
ConcatenationPostRequestHandler.supports(HttpMethod method) |
boolean |
ConcatenationHeadRequestHandler.supports(HttpMethod method) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
PatchFinalUploadValidator.supports(HttpMethod method) |
boolean |
NoUploadLengthOnFinalValidator.supports(HttpMethod method) |
boolean |
PartialUploadsExistValidator.supports(HttpMethod method) |
void |
PatchFinalUploadValidator.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) |
void |
PartialUploadsExistValidator.validate(HttpMethod method,
javax.servlet.http.HttpServletRequest request,
UploadStorageService uploadStorageService,
String ownerKey) |
| Modifier and Type | Method and Description |
|---|---|
Collection<HttpMethod> |
CoreProtocol.getMinimalSupportedHttpMethods() |
| Modifier and Type | Method and Description |
|---|---|
void |
CoreOptionsRequestHandler.process(HttpMethod method,
TusServletRequest servletRequest,
TusServletResponse servletResponse,
UploadStorageService uploadStorageService,
String ownerKey) |
void |
CoreHeadRequestHandler.process(HttpMethod method,
TusServletRequest servletRequest,
TusServletResponse servletResponse,
UploadStorageService uploadStorageService,
String ownerKey) |
void |
CorePatchRequestHandler.process(HttpMethod method,
TusServletRequest servletRequest,
TusServletResponse servletResponse,
UploadStorageService uploadStorageService,
String ownerKey) |
void |
CoreDefaultResponseHeadersHandler.process(HttpMethod method,
TusServletRequest servletRequest,
TusServletResponse servletResponse,
UploadStorageService uploadStorageService,
String ownerKey) |
boolean |
CoreOptionsRequestHandler.supports(HttpMethod method) |
boolean |
CoreHeadRequestHandler.supports(HttpMethod method) |
boolean |
CorePatchRequestHandler.supports(HttpMethod method) |
boolean |
CoreDefaultResponseHeadersHandler.supports(HttpMethod method) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
UploadOffsetValidator.supports(HttpMethod method) |
boolean |
ContentTypeValidator.supports(HttpMethod method) |
boolean |
IdExistsValidator.supports(HttpMethod method) |
boolean |
ContentLengthValidator.supports(HttpMethod method) |
boolean |
HttpMethodValidator.supports(HttpMethod method) |
boolean |
TusResumableValidator.supports(HttpMethod method) |
void |
UploadOffsetValidator.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 |
IdExistsValidator.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) |
void |
HttpMethodValidator.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) |
| Modifier and Type | Method and Description |
|---|---|
Collection<HttpMethod> |
CreationExtension.getMinimalSupportedHttpMethods() |
| Modifier and Type | Method and Description |
|---|---|
void |
CreationHeadRequestHandler.process(HttpMethod method,
TusServletRequest servletRequest,
TusServletResponse servletResponse,
UploadStorageService uploadStorageService,
String ownerKey) |
void |
CreationPostRequestHandler.process(HttpMethod method,
TusServletRequest servletRequest,
TusServletResponse servletResponse,
UploadStorageService uploadStorageService,
String ownerKey) |
void |
CreationPatchRequestHandler.process(HttpMethod method,
TusServletRequest servletRequest,
TusServletResponse servletResponse,
UploadStorageService uploadStorageService,
String ownerKey) |
boolean |
CreationHeadRequestHandler.supports(HttpMethod method) |
boolean |
CreationPostRequestHandler.supports(HttpMethod method) |
boolean |
CreationPatchRequestHandler.supports(HttpMethod method) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
UploadDeferLengthValidator.supports(HttpMethod method) |
boolean |
UploadLengthValidator.supports(HttpMethod method) |
boolean |
PostURIValidator.supports(HttpMethod method) |
boolean |
PostEmptyRequestValidator.supports(HttpMethod method) |
void |
UploadDeferLengthValidator.validate(HttpMethod method,
javax.servlet.http.HttpServletRequest request,
UploadStorageService uploadStorageService,
String ownerKey) |
void |
UploadLengthValidator.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 |
|---|---|
Collection<HttpMethod> |
DownloadExtension.getMinimalSupportedHttpMethods() |
| Modifier and Type | Method and Description |
|---|---|
void |
DownloadGetRequestHandler.process(HttpMethod method,
TusServletRequest servletRequest,
TusServletResponse servletResponse,
UploadStorageService uploadStorageService,
String ownerKey) |
boolean |
DownloadGetRequestHandler.supports(HttpMethod method) |
| Modifier and Type | Method and Description |
|---|---|
Collection<HttpMethod> |
ExpirationExtension.getMinimalSupportedHttpMethods() |
| Modifier and Type | Method and Description |
|---|---|
void |
ExpirationRequestHandler.process(HttpMethod method,
TusServletRequest servletRequest,
TusServletResponse servletResponse,
UploadStorageService uploadStorageService,
String ownerKey) |
boolean |
ExpirationRequestHandler.supports(HttpMethod method) |
| Modifier and Type | Method and Description |
|---|---|
Collection<HttpMethod> |
TerminationExtension.getMinimalSupportedHttpMethods() |
| Modifier and Type | Method and Description |
|---|---|
void |
TerminationDeleteRequestHandler.process(HttpMethod method,
TusServletRequest servletRequest,
TusServletResponse servletResponse,
UploadStorageService uploadStorageService,
String ownerKey) |
boolean |
TerminationDeleteRequestHandler.supports(HttpMethod method) |
| 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 |
AbstractExtensionRequestHandler.process(HttpMethod method,
TusServletRequest servletRequest,
TusServletResponse servletResponse,
UploadStorageService uploadStorageService,
String ownerKey) |
boolean |
AbstractExtensionRequestHandler.supports(HttpMethod method) |
void |
AbstractTusExtension.validate(HttpMethod method,
javax.servlet.http.HttpServletRequest servletRequest,
UploadStorageService uploadStorageService,
String ownerKey) |
Copyright © 2023. All rights reserved.