assert Capability For Method
Asserts that the client supports the capability required for the given method.
This method is automatically called by the Protocol framework before handling requests. Throws IllegalStateException if the capability is not supported.
Parameters
method
The method for which we are asserting capability.