Package tigase.http.upload.logic
Interface Logic
- All Known Implementing Classes:
DefaultLogic
public interface Logic
Created by andrzej on 07.08.2016.
-
Method Summary
Modifier and TypeMethodDescriptiongetDownloadURI(tigase.xmpp.jid.JID requester, String slotId, String filename) longgetUploadURI(tigase.xmpp.jid.JID requester, String slotId, String filename) voidremoveExpired(Duration expirationTime, int limit) requestSlot(tigase.xmpp.jid.JID requester, String filename, long filesize, String contentType)
-
Method Details
-
getMaxFileSize
long getMaxFileSize() -
requestSlot
String requestSlot(tigase.xmpp.jid.JID requester, String filename, long filesize, String contentType) throws tigase.component.exceptions.ComponentException - Throws:
tigase.component.exceptions.ComponentException
-
getUploadURI
-
getDownloadURI
-
generateSlotId
String generateSlotId() -
getUploadURIFormat
UriFormat getUploadURIFormat() -
getDownloadURIFormat
UriFormat getDownloadURIFormat() -
removeExpired
-