Class ActionHandlerNack
- java.lang.Object
-
- co.arago.hiro.client.model.HiroJsonMap
-
- co.arago.hiro.client.model.websocket.action.AbstractActionHandlerIdMessage
-
- co.arago.hiro.client.model.websocket.action.impl.ActionHandlerNack
-
- All Implemented Interfaces:
JsonMessage,ToMap,ActionHandlerCodeMessage,ActionHandlerIdMessage,ActionHandlerMessage,java.io.Serializable
public class ActionHandlerNack extends AbstractActionHandlerIdMessage implements ActionHandlerCodeMessage
{ "type": "negativeAcknowledged", "id": "id1", "code": 400, "message: "bad request" }- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.Integercodejava.lang.Stringmessage-
Fields inherited from class co.arago.hiro.client.model.HiroJsonMap
fieldsMap
-
-
Constructor Summary
Constructors Constructor Description ActionHandlerNack(java.lang.String id)ActionHandlerNack(java.lang.String id, java.lang.Integer code, java.lang.String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.IntegergetCode()java.lang.StringgetMessage()ActionMessageTypegetType()-
Methods inherited from class co.arago.hiro.client.model.websocket.action.AbstractActionHandlerIdMessage
getId
-
Methods inherited from class co.arago.hiro.client.model.HiroJsonMap
addFields, getField, getMap, getUnmappedField, setField, setFields, toMap
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface co.arago.hiro.client.model.JsonMessage
toJsonString, toJsonStringNoNull, toPrettyJsonString, toPrettyJsonStringNoNull
-
-
-
-
Method Detail
-
getCode
public java.lang.Integer getCode()
- Specified by:
getCodein interfaceActionHandlerCodeMessage
-
getMessage
public java.lang.String getMessage()
- Specified by:
getMessagein interfaceActionHandlerCodeMessage
-
getType
public ActionMessageType getType()
- Specified by:
getTypein interfaceActionHandlerMessage
-
-