public class Response
extends java.lang.Object
| Constructor and Description |
|---|
Response(byte[] data) |
Response(int code) |
Response(ResultCode code) |
| Modifier and Type | Method and Description |
|---|---|
ResultCode |
getCode() |
byte[] |
getData() |
static ResultCode |
getResultCode(byte[] data) |
java.lang.String |
toString() |
public Response(int code)
public Response(ResultCode code)
public Response(byte[] data)
throws java.lang.Exception
java.lang.Exceptionpublic ResultCode getCode()
public byte[] getData()
public java.lang.String toString()
toString in class java.lang.Objectpublic static ResultCode getResultCode(byte[] data) throws java.lang.Exception
java.lang.Exception