qbit/consul-client/src/main/java/io/advantageous/consul/endpoints/StatusEndpoint.java
public List<String> getPeers() {


        final URI uri = createURI("/peers");

        final HttpRequestBuilder httpRequestBuilder = RequestUtils
                .getHttpRequestBuilder(null, null, RequestOptions.BLANK, "");

        final HTTP.Response httpResponse = HTTP.getResponse(uri + "?" + httpRequestBuilder.paramString());

        if (httpResponse.code() != 200) {
            die("Unable to get the peers", uri, httpResponse.code(), httpResponse.body());
        }

        return fromJsonArray(httpResponse.body(), String.class);
    }
public List<String> getPeers() {


        final URI uri = createURI("/peers");

        final HttpRequestBuilder httpRequestBuilder = RequestUtils
                .getHttpRequestBuilder(null, null, RequestOptions.BLANK, "");

        final HTTP.Response httpResponse = HTTP.getResponse(uri + "?" + httpRequestBuilder.paramString());

        if (httpResponse.code() != 200) {
            die("Unable to get the peers", uri, httpResponse.code(), httpResponse.body());
        }

        return fromJsonArray(httpResponse.body(), String.class);
    }
Retrieves a list of host/ports for raft peers.
<p>
GET /v1/status/peers

@return List of host/ports for raft peers.