/** * Execute a GWT RPC command request, and return the response. These request come from the client, and the response * is sent back to the client. We use a {@link CommandDispatcher} to actually execute the command. */ public CommandResponse execute(GwtCommand request) { if (request != null) { return commandDispatcher.execute(request.getCommandName(), request.getCommandRequest(), request.getUserToken(), request.getLocale()); } return null; }
/** * Execute a GWT RPC command request, and return the response. These request come from the client, and the response * is sent back to the client. We use a {@link CommandDispatcher} to actually execute the command. */ public CommandResponse execute(GwtCommand request) { if (request != null) { return commandDispatcher.execute(request.getCommandName(), request.getCommandRequest(), request.getUserToken(), request.getLocale()); } return null; }