Interface MutableOptionalTokenHolder
- All Superinterfaces:
OptionalTokenHolder
A
MutableOptionalTokenHolder is a OptionalTokenHolder whose
token can be set and removed programmatically.- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionvoidRemoves the token of the currentMutableOptionalTokenHolder.voidSets the token of the currentMutableOptionalTokenHolder.Methods inherited from interface OptionalTokenHolder
getToken, hasToken, hasToken
-
Method Details
-
removeToken
void removeToken()Removes the token of the currentMutableOptionalTokenHolder. -
setToken
Sets the token of the currentMutableOptionalTokenHolder.- Parameters:
token-- Throws:
RuntimeException- if the given token is null or blank
-