public static void htmlPowerloomResponse(String action, String objecttype, String modulename, String objectname, org.powerloom.PrintableStringWriter stream) {
    { Object old$PprintAtomicObjectRenderer$000 = OntosaurusUtil.$PPRINT_ATOMIC_OBJECT_RENDERER$.get();
      Object old$PprintIndent$000 = OntosaurusUtil.$PPRINT_INDENT$.get();
      Object old$PrintreadablyP$000 = Stella.$PRINTREADABLYp$.get();

      try {
        Native.setSpecial(OntosaurusUtil.$PPRINT_ATOMIC_OBJECT_RENDERER$, Symbol.lookupFunction(OntosaurusUtil.SYM_ONTOSAURUS_PPRINT_ATOMIC_OBJECT_FOR_HTML).functionCode);
        Native.setIntSpecial(OntosaurusUtil.$PPRINT_INDENT$, 0);
        Native.setBooleanSpecial(Stella.$PRINTREADABLYp$, true);
        if (Stella.stringEqlP(objecttype, "object") ||
            (Stella.stringEqlP(objecttype, "concept") ||
             (Stella.stringEqlP(objecttype, "relation") ||
              Stella.stringEqlP(objecttype, "instance")))) {
          if (Stella.stringEqlP(action, "show")) {
            { Object old$OntosaurusUrlAction$000 = OntosaurusUtil.$ONTOSAURUS_URL_ACTION$.get();

              try {
                Native.setSpecial(OntosaurusUtil.$ONTOSAURUS_URL_ACTION$, "show");
                OntosaurusUtil.htmlWriteObjectResponsePage(modulename, objectname, stream);

              } finally {
                OntosaurusUtil.$ONTOSAURUS_URL_ACTION$.set(old$OntosaurusUrlAction$000);
              }
            }
            return;
          }
          else if (Stella.stringEqlP(action, "find") ||
              Stella.stringEqlP(action, "findsubstring")) {
            { Object old$OntosaurusUrlAction$001 = OntosaurusUtil.$ONTOSAURUS_URL_ACTION$.get();

              try {
                Native.setSpecial(OntosaurusUtil.$ONTOSAURUS_URL_ACTION$, "show");
                OntosaurusUtil.htmlWriteFindObjectResponsePage(modulename, objectname, objecttype, OntosaurusUtil.KWD_SUBSTRING, stream);

              } finally {
                OntosaurusUtil.$ONTOSAURUS_URL_ACTION$.set(old$OntosaurusUrlAction$001);
              }
            }
            return;
          }
          else if (Stella.stringEqlP(action, "findexact")) {
            { Object old$OntosaurusUrlAction$002 = OntosaurusUtil.$ONTOSAURUS_URL_ACTION$.get();

              try {
                Native.setSpecial(OntosaurusUtil.$ONTOSAURUS_URL_ACTION$, "show");
                OntosaurusUtil.htmlWriteFindObjectResponsePage(modulename, objectname, objecttype, OntosaurusUtil.KWD_EXACT, stream);

              } finally {
                OntosaurusUtil.$ONTOSAURUS_URL_ACTION$.set(old$OntosaurusUrlAction$002);
              }
            }
            return;
          }
          else if (Stella.stringEqlP(action, "findinsensitive")) {
            { Object old$OntosaurusUrlAction$003 = OntosaurusUtil.$ONTOSAURUS_URL_ACTION$.get();

              try {
                Native.setSpecial(OntosaurusUtil.$ONTOSAURUS_URL_ACTION$, "show");
                OntosaurusUtil.htmlWriteFindObjectResponsePage(modulename, objectname, objecttype, OntosaurusUtil.KWD_CASE_INSENSITIVE, stream);

              } finally {
                OntosaurusUtil.$ONTOSAURUS_URL_ACTION$.set(old$OntosaurusUrlAction$003);
              }
            }
            return;
          }
        }
        else if (Stella.stringEqlP(objecttype, "context") &&
            Stella.stringEqlP(action, "show")) {
          OntosaurusUtil.htmlWriteModuleResponsePage(modulename, stream);
          return;
        }
        else if (Stella.stringEqlP(objecttype, "query")) {
          if (Stella.stringEqlP(action, "explain")) {
            OntosaurusUtil.htmlWriteExplanationResponsePage(modulename, objectname, stream);
            return;
          }
        }

      } finally {
        Stella.$PRINTREADABLYp$.set(old$PrintreadablyP$000);
        OntosaurusUtil.$PPRINT_INDENT$.set(old$PprintIndent$000);
        OntosaurusUtil.$PPRINT_ATOMIC_OBJECT_RENDERER$.set(old$PprintAtomicObjectRenderer$000);
      }
    }
    {
      stream.print("<FONT COLOR='#BB0000'>");
      {
        stream.print("<B>");
        stream.print("ERROR: Unrecognized action-type pair: '" + action + "' '" + objecttype + "'.");
        stream.print("</B>");
      }
      stream.println("</FONT>");
    }
    return;
  }