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