public class EtcdResponseDecoders
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
EtcdResponseDecoders.JsonDecoder<T> |
static class |
EtcdResponseDecoders.StringDecoder |
static class |
EtcdResponseDecoders.StringToObjectDecoder<T> |
| Modifier and Type | Field and Description |
|---|---|
static EtcdResponseDecoder<java.lang.String> |
STRING_DECODER |
protected static java.lang.CharSequence |
X_ETCD_CLUSTER_ID |
protected static java.lang.CharSequence |
X_ETCD_INDEX |
protected static java.lang.CharSequence |
X_RAFT_INDEX |
protected static java.lang.CharSequence |
X_RAFT_TERM |
| Constructor and Description |
|---|
EtcdResponseDecoders() |
| Modifier and Type | Method and Description |
|---|---|
static <T> EtcdResponseDecoder<T> |
json(java.lang.Class<T> type) |
static EtcdResponseDecoder<java.lang.String> |
string() |
protected static final java.lang.CharSequence X_ETCD_CLUSTER_ID
protected static final java.lang.CharSequence X_ETCD_INDEX
protected static final java.lang.CharSequence X_RAFT_INDEX
protected static final java.lang.CharSequence X_RAFT_TERM
public static final EtcdResponseDecoder<java.lang.String> STRING_DECODER
public static <T> EtcdResponseDecoder<T> json(java.lang.Class<T> type)
public static EtcdResponseDecoder<java.lang.String> string()