Class SysControllerFilter
java.lang.Object
com.smartfoxserver.controllers.filter.SysControllerFilter
- All Implemented Interfaces:
ISystemFilter
- Direct Known Subclasses:
ReadOnlyUserVariablesFilter
A filter can be used to intercept any API client request (not Extension requests) and interact with the parameter,
adding extra validation, custom logic etc...
A complete description of the process is found in this tutorial.
- Since:
- version 2.3.0
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()voidprotected voidtrace(ExtensionLogLevel level, Object... args) Trace a message to the console and log files using the specified logging levelprotected voidTraces a message to the console and log files using the Logger INFO levelMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.smartfoxserver.controllers.filter.ISystemFilter
handleClientRequest
-
Field Details
-
logger
protected final org.slf4j.Logger logger
-
-
Constructor Details
-
SysControllerFilter
public SysControllerFilter()
-
-
Method Details
-
getName
-
setName
-
trace
Traces a message to the console and log files using the Logger INFO level- Parameters:
args- any number of strings/object to trace
-
trace
Trace a message to the console and log files using the specified logging level- Parameters:
level- the logging levelargs- any number of object to trace
-