public abstract class MessageValidator extends AbstractResponseValidator<Message<?>>
Constructor and Description |
---|
MessageValidator() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
extractPayload()
If true will extract the payload as the parameter for validateResponse()
|
protected abstract void |
validateMessage(Message<?> message)
Implement this method to validate the message
|
protected void |
validateResponse(Message<?> response)
Implement this method to validate the response (Message or Payload)
|
getLastMessage, handleMessage
protected final boolean extractPayload()
AbstractResponseValidator
extractPayload
in class AbstractResponseValidator<Message<?>>
protected final void validateResponse(Message<?> response)
AbstractResponseValidator
validateResponse
in class AbstractResponseValidator<Message<?>>
protected abstract void validateMessage(Message<?> message)
message
-