public class RedisRawResponse extends Object
RedisResponseReader.
 The representation is very similar to Redis's protocol definition.| Constructor and Description | 
|---|
RedisRawResponse()  | 
| Modifier and Type | Method and Description | 
|---|---|
Object | 
getResult()
Gets the result. 
 | 
RedisCommandInfo.ResultType | 
getResultType()
Gets the Result Type. 
 | 
boolean | 
isError()
Returns if there was an error when reading the response. 
 | 
void | 
print()
Prints the redis response in a textual representation assuming there is no binary data. 
 | 
void | 
setError(boolean pisError)
Sets the error flag to indicate an error while reading the response. 
 | 
void | 
setResult(Object presult)
Sets the result 
 | 
void | 
setResultType(RedisCommandInfo.ResultType presultType)
Sets the result type. 
 | 
public RedisCommandInfo.ResultType getResultType()
public void setResultType(RedisCommandInfo.ResultType presultType)
presultType - Result Typepublic Object getResult()
public void setResult(Object presult)
presult - Redis Responsepublic boolean isError()
public void setError(boolean pisError)
pisError - error flagpublic void print()
Copyright © 2013- Suresh Mahalingam. All Rights Reserved.