code: public List<ConnectionInfo> getConnections() {
      final URI uri = uriWithPath("./connections/");
      return Arrays.asList(this.rt.getForObject(uri, ConnectionInfo[].class));
    }
docs: Retrieves state and metrics information for all client connections across the cluster.
  
  @return list of connections across the cluster