Class Token
java.lang.Object
org.exoplatform.services.rest.impl.header.Token
- Direct Known Subclasses:
AcceptToken
Token is any header part which contains only valid characters see
HeaderHelper.isToken(String) . Token is separated by ','- Version:
- $Id: $
- Author:
- Andrey Parfonov
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetToken()booleanisCompatible(Token other) Check is to token is compatible.
-
Constructor Details
-
Token
- Parameters:
token- a token
-
-
Method Details
-
getToken
- Returns:
- the token in lower case
-
isCompatible
Check is to token is compatible.- Parameters:
other- the token must be checked- Returns:
- true if token is compatible false otherwise
-