@Override protected void processMethod(StageMethod method) { switch (method.getStageMethod()) { case STAGEOP_PARSE_AND_EXECUTE: parseAndExecute(method); break; default: method.getRq().setError(ErrorType.INTERNAL_SERVER_ERROR, "unknown stage operation"); master.requestFinished(method.getRq()); } }