Message.
| Modifier and Type | Method and Description |
|---|---|
| public void | handleReturnValue(Object
the value returned from the handler method returnValue, MethodParameter the type of the return value. This type must have previously
been passed to returnType, Message<?> supportsReturnType(org.
and it must have returned true.the message that caused this method to be called message)Handle the given return value. |
| public boolean | Returns: true if this handler supports the supplied return type;
false otherwisethe method return type to check returnType)Whether the given method return type is supported by this handler. |
| handleReturnValue | back to summary |
|---|---|
| public void handleReturnValue(Object returnValue, MethodParameter returnType, Message<?> message) throws Exception Handle the given return value.
| |
| supportsReturnType | back to summary |
|---|---|
| public boolean supportsReturnType(MethodParameter returnType) Whether the given method return type is supported by this handler.
| |