Package org.jitsi.xmpp.util
Class ErrorUtilKt
-
- All Implemented Interfaces:
public final class ErrorUtilKt
-
-
Method Summary
Modifier and Type Method Description final static IQcreateError(IQ request, StanzaError.Condition errorCondition, String errorMessage, ExtensionElement extension)final static IQcreateError(IQ request, StanzaError.Condition errorCondition, String errorMessage)final static IQcreateError(IQ request, StanzaError.Condition errorCondition)final static IQcreateError(IQ request, StanzaError.Condition errorCondition, String errorMessage, List<ExtensionElement> extensions)Create an error response for a given IQ request. -
-
Method Detail
-
createError
@JvmOverloads() final static IQ createError(IQ request, StanzaError.Condition errorCondition, String errorMessage, ExtensionElement extension)
-
createError
@JvmOverloads() final static IQ createError(IQ request, StanzaError.Condition errorCondition, String errorMessage)
-
createError
@JvmOverloads() final static IQ createError(IQ request, StanzaError.Condition errorCondition)
-
createError
final static IQ createError(IQ request, StanzaError.Condition errorCondition, String errorMessage, List<ExtensionElement> extensions)
Create an error response for a given IQ request.
- Parameters:
request- the request IQ for which the error response will be created.errorCondition- the XMPP error condition for the error response.errorMessage- optional error text message to be included in the error response.extensions- optional extensions to include as a children of the error element.- Returns:
an IQ which is an XMPP error response to given <tt>request</tt>.
-
-
-
-