All Downloads are FREE. Search and download functionalities are using the official Maven repository.

me.desair.tus.server.expiration.ExpirationOptionsRequestHandler Maven / Gradle / Ivy

Go to download

Server-side implementation of the open file upload protocol tus (https://tus.io/) that supports resumable file uploads for small and very large files

There is a newer version: 1.0.0-3.0
Show newest version
package me.desair.tus.server.expiration;

import me.desair.tus.server.util.AbstractExtensionRequestHandler;

/**
 * The Server MAY remove unfinished uploads once they expire. In order to indicate this behavior to the Client,
 * the Server MUST add expiration to the Tus-Extension header.
 */
public class ExpirationOptionsRequestHandler extends AbstractExtensionRequestHandler {

    @Override
    protected void appendExtensions(StringBuilder extensionBuilder) {
        addExtension(extensionBuilder, "expiration");
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy