+ jsonBeanName + " = " + findMethod.getMethodCall() + ";");
bodyBuilder.appendFormalLine("if (" + jsonBeanName + " == null) {");
bodyBuilder.indent();
bodyBuilder.appendFormalLine("return new " + responseEntityShortName
+ "<String>(headers, " + httpStatusShortName + ".NOT_FOUND);");
bodyBuilder.indentRemove();
bodyBuilder.appendFormalLine("}");
bodyBuilder.appendFormalLine("return new " + responseEntityShortName
+ "<String>(" + jsonBeanName + "."
+ toJsonMethodName.getSymbolName() + "(), headers, "
+ httpStatusShortName + ".OK);");