mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-09 17:19:39 +02:00
Fix and improve the HTTP File Upload implementation
Fix a few resource leaks. Improve the API and add an integration test. Also add compability layer for XEP-0363: HTTP File Upload 0.2. SMACK-747
This commit is contained in:
parent
72d4c8b611
commit
09b6608a3a
26 changed files with 691 additions and 177 deletions
|
@ -234,6 +234,16 @@
|
|||
</extensionProvider>
|
||||
|
||||
<!-- XEP-0363: HTTP File Upload -->
|
||||
<iqProvider>
|
||||
<elementName>slot</elementName>
|
||||
<namespace>urn:xmpp:http:upload:0</namespace>
|
||||
<className>org.jivesoftware.smackx.httpfileupload.provider.SlotProvider</className>
|
||||
</iqProvider>
|
||||
<extensionProvider>
|
||||
<elementName>file-too-large</elementName>
|
||||
<namespace>urn:xmpp:http:upload:0</namespace>
|
||||
<className>org.jivesoftware.smackx.httpfileupload.provider.FileTooLargeErrorProvider</className>
|
||||
</extensionProvider>
|
||||
<iqProvider>
|
||||
<elementName>slot</elementName>
|
||||
<namespace>urn:xmpp:http:upload</namespace>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue