public final boolean isReadable ()

Tests whether this key's channel is ready for reading.

An invocation of this method of the form k.isReadable() behaves in exactly the same way as the expression

 k.readyOps() & OP_READ != 0

If this key's channel does not support read operations then this method always returns false.

Returns:  true if, and only if, readyOps() & OP_READ is nonzero

CancelledKeyException     If this key has been cancelled