class CredentialsCacheEntry
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
UserCredentials |
userCredentials
The user credentials associated with this cache entry.
|
Constructor and Description |
---|
CredentialsCacheEntry() |
Modifier and Type | Method and Description |
---|---|
(package private) boolean |
containsBranchID(java.lang.String branchID)
Determines whether these credentials have been used for the specified
transaction.
|
(package private) boolean |
popBranchID(java.lang.String responseBranchID)
Determines whether these credentials have been used for the specified
transaction.
|
(package private) void |
pushBranchID(java.lang.String requestBranchID)
Adds the specified branch id to the transaction history list so that we
know that we've seen it and don't try to authenticate with the same
credentials if we get an unauthorized response for it.
|
public UserCredentials userCredentials
void pushBranchID(java.lang.String requestBranchID)
requestBranchID
- the id to add to the list of unconfirmed
transactions.boolean popBranchID(java.lang.String responseBranchID)
responseBranchID
- the branch id of the response to process.boolean containsBranchID(java.lang.String branchID)
branchID
- the branch id of the transaction that we are looking for.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.