}
@Override
public boolean stopWebapp ( Webapp webapp ) throws Exception
{
if (webapp.getStatus().equals(STATUS_STOPPED)) throw new AlreadyStoppedWebappException(webapp);
log.info("Stopping webapp " + webapp.getName());
HttpGet get = buildHttpGet(STOP_PATH + webapp.getName());
setupMethod(get, null);
return executeAndCheckIfSuccess(get);