Class PayloadValidator<T>
java.lang.Object
org.springframework.integration.test.support.AbstractResponseValidator<T>
org.springframework.integration.test.support.PayloadValidator<T>
- All Implemented Interfaces:
 MessageHandler
Validate a message payload. Create an anonymous instance or subclass this
 to validate a response payload.
- Author:
 - David Turanski
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected final booleanIf true will extract the payload as the parameter for validateResponse()Methods inherited from class org.springframework.integration.test.support.AbstractResponseValidator
getLastMessage, handleMessage, validateResponse 
- 
Constructor Details
- 
PayloadValidator
public PayloadValidator() 
 - 
 - 
Method Details
- 
extractPayload
protected final boolean extractPayload()Description copied from class:AbstractResponseValidatorIf true will extract the payload as the parameter for validateResponse()- Specified by:
 extractPayloadin classAbstractResponseValidator<T>- Returns:
 - true to extract the payload; false to process the message.
 
 
 -