org.apache.vysper.xmpp.modules.core.base.handler
Class IQHandler
java.lang.Object
org.apache.vysper.xmpp.modules.core.base.handler.XMPPCoreStanzaHandler
org.apache.vysper.xmpp.modules.core.base.handler.IQHandler
- All Implemented Interfaces:
- StanzaHandler
- Direct Known Subclasses:
- AbstractAsyncIQGetHandler, AuthCompatibilityIQHandler, DefaultIQHandler, SessionIQHandler
public class IQHandler
- extends XMPPCoreStanzaHandler
handling IQ stanzas (request/response)
- See Also:
for your convenient own IQ handler implementations,
for handling IQ gets asynchronously
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IQHandler
public IQHandler()
getName
public java.lang.String getName()
- Description copied from interface:
StanzaHandler
- the stanza name handled by this handler
verifyType
protected boolean verifyType(Stanza stanza)
- Specified by:
verifyType in class XMPPCoreStanzaHandler
verifyInnerNamespace
protected boolean verifyInnerNamespace(Stanza stanza,
java.lang.String namespace)
executeCore
@SpecCompliance(compliant={@SpecCompliant(spec="rfc3920",section="9.2.3",status=FINISHED,coverage=PARTIAL,comment="covers points 1, 2, 5 and 6"),@SpecCompliant(spec="rfc3920bis-09",section="9.2.3",status=FINISHED,coverage=PARTIAL,comment="covers points 1, 2, 5 and 6")})
protected Stanza executeCore(XMPPCoreStanza coreStanza,
ServerRuntimeContext serverRuntimeContext,
boolean isOutboundStanza,
SessionContext sessionContext)
- Specified by:
executeCore in class XMPPCoreStanzaHandler
getErrorLanguage
protected java.lang.String getErrorLanguage(ServerRuntimeContext serverRuntimeContext,
SessionContext sessionContext)
executeIQLogic
protected Stanza executeIQLogic(IQStanza stanza,
ServerRuntimeContext serverRuntimeContext,
SessionContext sessionContext)
- must be overriden by specialized IQ handlers