public interface EtcdResponseDecoder<T>
| Modifier and Type | Method and Description |
|---|---|
T |
decode(io.netty.handler.codec.http.HttpHeaders headers,
io.netty.buffer.ByteBuf content) |
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