Class GridRouterResponse
- java.lang.Object
-
- org.apache.ignite.internal.processors.rest.client.message.GridClientAbstractMessage
-
- org.apache.ignite.internal.processors.rest.client.message.GridRouterResponse
-
- All Implemented Interfaces:
Externalizable,Serializable,GridClientMessage
public class GridRouterResponse extends GridClientAbstractMessage
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GridRouterResponse()ForExternalizable(not supported).GridRouterResponse(byte[] body, Long reqId, UUID clientId, UUID destId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]body()StringerrorMessage()voidreadExternal(ObjectInput in)intstatus()StringtoString()voidwriteExternal(ObjectOutput out)-
Methods inherited from class org.apache.ignite.internal.processors.rest.client.message.GridClientAbstractMessage
clientId, clientId, destinationId, destinationId, requestId, requestId, sessionToken, sessionToken
-
-
-
-
Constructor Detail
-
GridRouterResponse
public GridRouterResponse()
ForExternalizable(not supported).
-
-
Method Detail
-
body
public byte[] body()
- Returns:
- Response body.
-
errorMessage
public String errorMessage()
- Returns:
- Error message.
-
status
public int status()
- Returns:
- Status.
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Overrides:
writeExternalin classGridClientAbstractMessage- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternalin interfaceExternalizable- Overrides:
readExternalin classGridClientAbstractMessage- Throws:
IOExceptionClassNotFoundException
-
toString
public String toString()
- Overrides:
toStringin classGridClientAbstractMessage
-
-