License |
License |
---|---|
Categories |
CategoriesData Net |
GroupId | GroupIdnet.yesdata |
ArtifactId | ArtifactIddudu-RESP-interpreter |
Last Version | Last Version1.0.4 |
Release Date | Release Date |
Type | Typejar |
Description |
Descriptiondudu-RESP-interpreter
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());
}
|
Project URL |
Project URL |
Source Code Management |
Source Code Management |
<!-- https://jarcasting.com/artifacts/net.yesdata/dudu-RESP-interpreter/ -->
<dependency>
<groupId>net.yesdata</groupId>
<artifactId>dudu-RESP-interpreter</artifactId>
<version>1.0.4</version>
</dependency>
// https://jarcasting.com/artifacts/net.yesdata/dudu-RESP-interpreter/
implementation 'net.yesdata:dudu-RESP-interpreter:1.0.4'
// https://jarcasting.com/artifacts/net.yesdata/dudu-RESP-interpreter/
implementation ("net.yesdata:dudu-RESP-interpreter:1.0.4")
'net.yesdata:dudu-RESP-interpreter:jar:1.0.4'
<dependency org="net.yesdata" name="dudu-RESP-interpreter" rev="1.0.4">
<artifact name="dudu-RESP-interpreter" type="jar" />
</dependency>
@Grapes(
@Grab(group='net.yesdata', module='dudu-RESP-interpreter', version='1.0.4')
)
libraryDependencies += "net.yesdata" % "dudu-RESP-interpreter" % "1.0.4"
[net.yesdata/dudu-RESP-interpreter "1.0.4"]
Group / Artifact | Type | Version |
---|---|---|
junit : junit | jar | 3.8.1 |