public EtcdResponse get ( String key ) throws EtcdException { UriComponentsBuilder builder = UriComponentsBuilder . fromUriString ( KEYSPACE ) ; builder . pathSegment ( key ) ; return execute ( builder , HttpMethod . GET , null , EtcdResponse . class ) ; }
Returns the node with the given key from etcd .