Package tigase.http.upload.logic
Interface Logic
-
- All Known Implementing Classes:
DefaultLogic
public interface LogicCreated by andrzej on 07.08.2016.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgenerateSlotId()StringgetDownloadURI(tigase.xmpp.jid.JID requester, String slotId, String filename)UriFormatgetDownloadURIFormat()longgetMaxFileSize()StringgetUploadURI(tigase.xmpp.jid.JID requester, String slotId, String filename)UriFormatgetUploadURIFormat()voidremoveExpired(Duration expirationTime, int limit)StringrequestSlot(tigase.xmpp.jid.JID requester, String filename, long filesize, String contentType)
-
-
-
Method Detail
-
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
-
getDownloadURI
String getDownloadURI(tigase.xmpp.jid.JID requester, String slotId, String filename)
-
generateSlotId
String generateSlotId()
-
getUploadURIFormat
UriFormat getUploadURIFormat()
-
getDownloadURIFormat
UriFormat getDownloadURIFormat()
-
removeExpired
void removeExpired(Duration expirationTime, int limit)
-
-