Indicate whether the implementation (for both server and client) has the ability to sense and handle idle connection.
If the server has the ability to handle idle connection, it should close the connection when it happens, and if
the client has the ability to handle idle connection, it should send the heartbeat to the server.
Whether the implementation can sense and handle the idle connection.
方法详细资料
canHandleIdle
default boolean canHandleIdle()
Whether the implementation can sense and handle the idle connection. By default, it's false, the implementation
relies on dedicated timer to take care of idle connection.
返回:
whether it has the ability to handle idle connection