Class ClientTypeImpl
java.lang.Object
ch.tocco.nice2.web.core.impl.client.ClientTypeImpl
- All Implemented Interfaces:
ClientType
-
Field Summary
Fields inherited from interface ch.tocco.nice2.web.core.api.client.ClientType
BACKEND, CLIENT, FRONTEND, LEGACY_ACTIONS, REST, UNKNOWN, WIDGET
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ClientTypeImpl
public ClientTypeImpl()
-
-
Method Details
-
getType
Description copied from interface:ClientType
Returns the client type. Use defined constants from this interface.- Specified by:
getType
in interfaceClientType
-
setType
Description copied from interface:ClientType
Internal only. Please do not use unless you know what you are doing.- Specified by:
setType
in interfaceClientType
-
withClientType
Description copied from interface:ClientType
This may be used to run code in another ClientType.- Specified by:
withClientType
in interfaceClientType
-