org.jboss.aerogear.controller.router
Class InvocationResult
java.lang.Object
org.jboss.aerogear.controller.router.InvocationResult
public class InvocationResult
- extends Object
Represents the result of invoking a Route in AeroGear Controller.
result
private final Object result
routeContext
private final RouteContext routeContext
InvocationResult
public InvocationResult(Object result,
RouteContext routeContext)
- Sole constructor.
- Parameters:
result - the result from invoking the route's target endpoint method, if any.routeContext - the RouteContext for the current route.
getResult
public Object getResult()
- Gets the result from this invocation.
- Returns:
Object the result for this invocation.
getRouteContext
public RouteContext getRouteContext()
- The
RouteContext for this invocation.
- Returns:
RouteContext the RouteContext for this invocation.
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.