@Component public class DefaultResultHandler extends Object implements ResultHandler<Object>
ResultHandler that deals with Objects (hence comes as a last resort)
and prints the Object.toString() value of results to standard out.| Constructor and Description |
|---|
DefaultResultHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
handleResult(Object result)
Deal with some method execution result, whether it was the normal return value, or some kind
of
Throwable. |
public void handleResult(Object result)
ResultHandlerThrowable.handleResult in interface ResultHandler<Object>Copyright © 2017 Pivotal Software, Inc.. All rights reserved.