public class EtcdKeysResponseParser
extends java.lang.Object
| Constructor and Description |
|---|
EtcdKeysResponseParser() |
| Modifier and Type | Method and Description |
|---|---|
protected static java.util.Date |
convertDate(java.lang.String date)
Converts an ISO8601 date to Java date
|
static EtcdKeysResponse |
parse(io.netty.buffer.ByteBuf content)
Parses the Json content of the Etcd Response
|
public static EtcdKeysResponse parse(io.netty.buffer.ByteBuf content) throws EtcdException, java.io.IOException
content - to parseEtcdException - if exception was found in responsejava.io.IOException - if Json parsing or parser creation failsprotected static java.util.Date convertDate(java.lang.String date)
throws java.io.IOException
date - as string to convertjava.io.IOException - if date was of wrong type