@Override public ObjectAdapter invoke( final ObjectAction owningAction, final ObjectAdapter targetAdapter, final ObjectAdapter[] arguments) { final InvocationResult invocationResult = this.internalInvoke(owningAction, targetAdapter, arguments); // Perhaps the Action was not properly invoked (i.e. an exception was raised). if (invocationResult.getWhetherInvoked()) { // If invoked, then send the ActionInvokedEvent to the EventBus. postEvent(owningAction, targetAdapter, arguments); } return invocationResult.getAdapter(); }
public String getHttpBody() { return invocationResult.getHttpBody(); }
public int getHttpStatusCode() { return invocationResult.getStatusCode(); }