mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-22 14:22:05 +01:00
Add javadoc to HTTP File Upload API
This commit is contained in:
parent
e1615ee7d3
commit
36a278eeca
2 changed files with 22 additions and 0 deletions
|
@ -64,7 +64,18 @@ import org.jxmpp.jid.DomainBareJid;
|
||||||
*/
|
*/
|
||||||
public final class HttpFileUploadManager extends Manager {
|
public final class HttpFileUploadManager extends Manager {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Namespace of XEP-0363 v0.4 or higher. Constant value {@value #NAMESPACE}.
|
||||||
|
*
|
||||||
|
* @see <a href="https://xmpp.org/extensions/attic/xep-0363-0.4.0.html">XEP-0363 v0.4.0</a>
|
||||||
|
*/
|
||||||
public static final String NAMESPACE = "urn:xmpp:http:upload:0";
|
public static final String NAMESPACE = "urn:xmpp:http:upload:0";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Namespace of XEP-0363 v0.2 or lower. Constant value {@value #NAMESPACE_0_2}.
|
||||||
|
*
|
||||||
|
* @see <a href="https://xmpp.org/extensions/attic/xep-0363-0.2.5.html">XEP-0363 v0.2.5</a>
|
||||||
|
*/
|
||||||
public static final String NAMESPACE_0_2 = "urn:xmpp:http:upload";
|
public static final String NAMESPACE_0_2 = "urn:xmpp:http:upload";
|
||||||
|
|
||||||
private static final Logger LOGGER = Logger.getLogger(HttpFileUploadManager.class.getName());
|
private static final Logger LOGGER = Logger.getLogger(HttpFileUploadManager.class.getName());
|
||||||
|
|
|
@ -23,7 +23,18 @@ import org.jxmpp.jid.DomainBareJid;
|
||||||
public class UploadService {
|
public class UploadService {
|
||||||
|
|
||||||
enum Version {
|
enum Version {
|
||||||
|
/**
|
||||||
|
* Upload service as specified in XEP-0363 v0.2 or lower.
|
||||||
|
*
|
||||||
|
* @see <a href="https://xmpp.org/extensions/attic/xep-0363-0.2.5.html">XEP-0363 v0.2.5</a>
|
||||||
|
*/
|
||||||
v0_2,
|
v0_2,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Upload service as specified in XEP-0363 v0.3 or higher.
|
||||||
|
*
|
||||||
|
* @see <a href="https://xmpp.org/extensions/attic/xep-0363-0.4.0.html">XEP-0363 v0.4.0</a>
|
||||||
|
*/
|
||||||
v0_3,
|
v0_3,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue