}
};
commandInvocation.listener(".*", listener);
ResponseBuilder rb = Response.status(HttpURLConnection.HTTP_OK);
if ( isSingleInstanceCommand(model)) {
rb.cookie(getJSessionCookie(jSessionId));
}
rb.entity(ec);
executeCommandInvocationAsync(commandInvocation, ec, listener);
return rb.build();
}