Class TemplatedHtmlResponse


public class TemplatedHtmlResponse extends HttpByteArrayResponse
Wraps app Markdown or a built-in HTML information page in the shared template.
  • Constructor Details

    • TemplatedHtmlResponse

      public TemplatedHtmlResponse(HttpRequest httpReq, String app, ResponseCache cache) throws IOException
      Builds a templated information-page response.
      Parameters:
      httpReq - The HTTP request.
      app - App name, or /appinfo, /mcpinfo, /aiinfo or /devinfo for a built-in page.
      cache - The response cache.
      Throws:
      IOException - If an I/O error occurs while creating the HTML response.