MVN

net.yesdata : dudu-RESP-interpreter

Maven & Gradle

Dec 21, 2016
0 stars

dudu-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()); }

<dependency>
    <groupId>net.yesdata</groupId>
    <artifactId>dudu-RESP-interpreter</artifactId>
    <version>1.0.4</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of net.yesdata : dudu-RESP-interpreter to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 1.0.4

All Versions

Choose a version of net.yesdata : dudu-RESP-interpreter to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
1.0.x
dudu-RESP-interpreter-1.0.4

How to add a dependency to Maven

Add the following net.yesdata : dudu-RESP-interpreter maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>net.yesdata</groupId>
    <artifactId>dudu-RESP-interpreter</artifactId>
    <version>1.0.4</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following net.yesdata : dudu-RESP-interpreter gradle dependency to your build.gradle file:

implementation 'net.yesdata:dudu-RESP-interpreter:1.0.4'

Gradle Kotlin DSL: Add the following net.yesdata : dudu-RESP-interpreter gradle kotlin dependency to your build.gradle.kts file:

implementation("net.yesdata:dudu-RESP-interpreter:1.0.4")

How to add a dependency to SBT Scala

SBT Scala: Add the following net.yesdata : dudu-RESP-interpreter sbt scala dependency to your build.sbt file:

libraryDependencies += "net.yesdata" % "dudu-RESP-interpreter" % "1.0.4"

Advertisement