public final class FeatureNegotiation
extends java.lang.Object
The implementation of the <feature/>
element in the http://jabber.org/protocol/feature-neg
namespace.
This class is immutable.The protocol defined herein enables Jabber entities to negotiate options for specific features. These features could be negotiated between any two endpoints on the Jabber network, such as two clients, a client and a component, two components, a client and a server, or two servers. The protocol is generic enough that it can be used whenever options need to be negotiated between two Jabber entities. For examples, Stream Initiation (XEP-0095) [2], SI File Transfer (XEP-0096) [3] or Stanza Session Negotiation (XEP-0155) [4].
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAMESPACE
|
Constructor and Description |
---|
FeatureNegotiation(DataForm dataForm)
Creates a feature negotiation with structured data.
|
Modifier and Type | Method and Description |
---|---|
DataForm |
getDataForm()
Gets the data form, which contains feature negotiation details.
|
public static final java.lang.String NAMESPACE
public FeatureNegotiation(DataForm dataForm)
Creates a feature negotiation with structured data.
dataForm
- The structured data form, which contains feature negotiation details.public final DataForm getDataForm()
Gets the data form, which contains feature negotiation details.
Copyright © 2014–2019 XMPP.rocks. All rights reserved.