Class MediaDeliveryService

java.lang.Object
io.goobi.viewer.api.rest.model.MediaDeliveryService

public class MediaDeliveryService extends Object

MediaDeliveryService class.

Author:
Florian Alpers
  • Constructor Details

    • MediaDeliveryService

      public MediaDeliveryService()
  • Method Details

    • processRequest

      public void processRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String filePath, String mimeType) throws IOException
      Process the actual request.
      Parameters:
      request - The request to be processed.
      response - The response to be created.
      filePath - a String object.
      mimeType - a String object.
      Throws:
      IOException - if any.
    • matchesRangeHeaderPattern

      protected static boolean matchesRangeHeaderPattern(String range)
      Parameters:
      range -
      Returns:
      true if range matches pattern; false otherwise