public static class Chaincode.Response
extends java.lang.Object
Chaincode.init(ChaincodeStub)
andChaincode.invoke(ChaincodeStub)
Modifier and Type | Class and Description |
---|---|
static class |
Chaincode.Response.Status
Chaincode.Response status enum. |
Constructor and Description |
---|
Response(Chaincode.Response.Status status,
java.lang.String message,
byte[] payload) |
Response(int statusCode,
java.lang.String message,
byte[] payload) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage() |
byte[] |
getPayload() |
Chaincode.Response.Status |
getStatus() |
int |
getStatusCode() |
java.lang.String |
getStringPayload() |
public Response(Chaincode.Response.Status status, java.lang.String message, byte[] payload)
public Response(int statusCode, java.lang.String message, byte[] payload)
public Chaincode.Response.Status getStatus()
public int getStatusCode()
public java.lang.String getMessage()
public byte[] getPayload()
public java.lang.String getStringPayload()