public class AuthorizationRequest extends java.lang.Object
An outgoing Authorization Request is to be created by the user interface when an authorization error/challenge has been received by the underlying protocol. The user interface or any other bundle responsible of handling such requests is to implement the AuthoizationHandler interface and register itself as an authorization handler of a protocol provider. Whenever a request needs to be sent the protocol provider would ask the the AuthorizationHandler to create one through the createAuthorizationRequest() method.
Incoming Authorization requests are delivered to the ProtocolProviderService implementation through the AuthorizationHandler.processAuthorizationRequest() method.
|Constructor and Description|
Creates an empty authorization request with no reason or any other properties.
|Modifier and Type||Method and Description|
Returns the reason that should be sent to the remote user when asking for authorization.
Sets the reason phrase that should be sent to the user we're demanding for authorization.
public void setReason(java.lang.String reason)
reason- a human readable text to be set by the user.
public java.lang.String getReason()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.