Class ExpirationRequestHandler

java.lang.Object
me.desair.tus.server.util.AbstractRequestHandler
me.desair.tus.server.expiration.ExpirationRequestHandler
All Implemented Interfaces:
RequestHandler

public class ExpirationRequestHandler extends AbstractRequestHandler
The Upload-Expires response header indicates the time after which the unfinished upload expires. This header MUST be included in every PATCH response if the upload is going to expire. Its value MAY change over time. If the expiration is known at the creation, the Upload-Expires header MUST be included in the response to the initial POST request. Its value MAY change over time. The value of the Upload-Expires header MUST be in RFC 7231 (https://tools.ietf.org/html/rfc7231#section-7.1.1.1) datetime format.