public class InvocationResult extends Object
| Modifier and Type | Field and Description |
|---|---|
private Object |
result |
private RouteContext |
routeContext |
| Constructor and Description |
|---|
InvocationResult(Object result,
RouteContext routeContext)
Sole constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getResult()
Gets the result from this invocation.
|
RouteContext |
getRouteContext()
The
RouteContext for this invocation. |
String |
toString() |
private final Object result
private final RouteContext routeContext
public InvocationResult(Object result, RouteContext routeContext)
result - the result from invoking the route's target endpoint method, if any.routeContext - the RouteContext for the current route.public Object getResult()
Object the result for this invocation.public RouteContext getRouteContext()
RouteContext for this invocation.RouteContext the RouteContext for this invocation.Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.