Class JSONCommandArgumentReader
java.lang.Object
org.infinispan.server.resp.commands.json.JSONCommandArgumentReader
Helper class for reading JSON command arguments.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.infinispan.server.resp.commands.json.JSONCommandArgumentReader.CommandArgs
readCommandArgs
(List<byte[]> arguments) Reads and processes the given list of byte array arguments.
-
Field Details
-
DEFAULT_COMMAND_PATH
public static byte[] DEFAULT_COMMAND_PATH
-
-
Constructor Details
-
JSONCommandArgumentReader
public JSONCommandArgumentReader()
-
-
Method Details
-
readCommandArgs
public static org.infinispan.server.resp.commands.json.JSONCommandArgumentReader.CommandArgs readCommandArgs(List<byte[]> arguments) Reads and processes the given list of byte array arguments. Converts the raw byte array data into a structuredCommandArgs
object.- Parameters:
arguments
- the list of byte arrays representing command arguments- Returns:
- a
CommandArgs
object containing the parsed arguments
-