Interface OptionalTokenHolder
- All Known Subinterfaces:
FluentMutableOptionalTokenHolder<H>, MutableOptionalTokenHolder
-
Method Summary
-
Method Details
-
getToken
String getToken()- Returns:
- the token of the current
OptionalTokenHolder - Throws:
RuntimeException- if the currentOptionalTokenHolderdoes not have a token
-
hasToken
boolean hasToken()- Returns:
- true if the current
OptionalTokenHolderhas a token, false otherwise
-
hasToken
- Parameters:
token-- Returns:
- true if the current
OptionalTokenHolderhas the given token, false otherwise
-