/** * Returns the list of methods supported by the server based on its advertised information. * * @return an immutable set of capabilities */ public Set<ServerMethod> getSupportedMethods() { return client != null ? ServerMethod.getSupportedMethods(client.getSupportedMethods(), client.getServerInfos()) : null; }