|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.integration.test.support.AbstractResponseValidator<T>
public abstract class AbstractResponseValidator<T>
The base class for response validators used for RequestResponseScenarios
| Constructor Summary | |
|---|---|
AbstractResponseValidator()
|
|
| Method Summary | |
|---|---|
protected abstract boolean |
extractPayload()
If true will extract the payload as the parameter for validateResponse() |
org.springframework.integration.Message<?> |
getLastMessage()
|
void |
handleMessage(org.springframework.integration.Message<?> message)
handle the message |
protected abstract void |
validateResponse(T response)
Implement this method to validate the response (Message or Payload) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractResponseValidator()
| Method Detail |
|---|
public void handleMessage(org.springframework.integration.Message<?> message)
throws org.springframework.integration.MessagingException
handleMessage in interface org.springframework.integration.core.MessageHandlerorg.springframework.integration.MessagingExceptionprotected abstract void validateResponse(T response)
response - protected abstract boolean extractPayload()
public org.springframework.integration.Message<?> getLastMessage()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||