Download dudu-RESP-interpreter JAR file with all dependencies
dudu-RESP-interpreter from group net.yesdata (version 1.0.4)
REdis Serialization Protocol (RESP) implemented in java. You can simply construct string commands to RESP commands, and interpret redis response.
By import net.yesdata.RESP_intepreter.*
you can play with RESP with happy.
How to format command string to RESP style?
String command = "INFO";
IInterpreter intepreter = new DefaultRespInterpreter();
String sentCommand = intepreter.FormatCommand(command);
How to read and print RESP style response?
IInterpreter intepreter = new DefaultRespInterpreter();
List<IRespNode> respNodes = intepreter.IntepretResponse(responseBody);
for(IRespNode n : respNodes) {
System.out.println(n.toRespFormatString());
}
Artifact dudu-RESP-interpreter
Group net.yesdata
Version 1.0.4
Last update 21. December 2016
Organization not specified
URL https://github.com/yourcaptain/dudu-RESP_intepreter
License The Apache Software License, Version 2.0
Dependencies amount 0
Dependencies No dependencies
There are maybe transitive dependencies!
Group net.yesdata
Version 1.0.4
Last update 21. December 2016
Organization not specified
URL https://github.com/yourcaptain/dudu-RESP_intepreter
License The Apache Software License, Version 2.0
Dependencies amount 0
Dependencies No dependencies
There are maybe transitive dependencies!
Page 1 from 1 (items total 1)