public interface EtcdResponseDecoder<T>
T decode(io.netty.handler.codec.http.HttpHeaders headers, io.netty.buffer.ByteBuf content) throws EtcdException, java.io.IOException
headers - to decode withcontent - to decodejava.io.IOException - if content is faultyEtcdException - If etcd returns an exception from the server