org.springframework.integration.test.support
Class PayloadValidator

java.lang.Object
  extended by org.springframework.integration.test.support.AbstractResponseValidator
      extended by org.springframework.integration.test.support.PayloadValidator
All Implemented Interfaces:
MessageHandler

public abstract class PayloadValidator
extends AbstractResponseValidator

Validate a message payload. Create an anonymous instance or subclass this to validate a response payload.


Constructor Summary
PayloadValidator()
           
 
Method Summary
protected  boolean extractPayload()
          If true will extract the payload as the parameter for validateResponse()
 
Methods inherited from class org.springframework.integration.test.support.AbstractResponseValidator
handleMessage, validateResponse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PayloadValidator

public PayloadValidator()
Method Detail

extractPayload

protected final boolean extractPayload()
Description copied from class: AbstractResponseValidator
If true will extract the payload as the parameter for validateResponse()

Specified by:
extractPayload in class AbstractResponseValidator
Returns:
true to extract the payload; false to process the message.