|
Spring Integration | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.integration.test.support.AbstractResponseValidator<Message<?>> org.springframework.integration.test.support.MessageValidator
public abstract class MessageValidator
Validate a message. Create an anonymous instance or subclass to implement the validateMessage() method
Constructor Summary | |
---|---|
MessageValidator()
|
Method Summary | |
---|---|
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) |
Methods inherited from class org.springframework.integration.test.support.AbstractResponseValidator |
---|
getLastMessage, handleMessage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MessageValidator()
Method Detail |
---|
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
-
|
Spring Integration | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |