Class HttpManifestResponse


public class HttpManifestResponse extends HttpByteArrayResponse
Builds a web app manifest with an app-specific scope and room-specific start URL.
Author:
Dr Michael Gardiner
  • Constructor Details

    • HttpManifestResponse

      public HttpManifestResponse(HttpRequest httpReq, String app, String roomId, ResponseCache cache) throws IOException
      Constructs an HTTP response containing the dynamically generated manifest.
      Parameters:
      httpReq - the incoming request
      app - the app to use for the start URL
      roomId - the starting room; a new ID is generated if this is invalid or null
      cache - the response cache used to read the template
      Throws:
      IOException - if an error occurs reading the template