Interface AMRequestHandler<T>


public interface AMRequestHandler<T>
Handles upcoming requests for a particular kind of media (i.e., media generated by one type of processor).
  • Method Summary

    Modifier and Type
    Method
    Description
    handleRequest(jakarta.servlet.http.HttpServletRequest httpServletRequest)
    Returns the requested AdaptiveMedia instance.
  • Method Details

    • handleRequest

      AdaptiveMedia<T> handleRequest(jakarta.servlet.http.HttpServletRequest httpServletRequest) throws IOException, jakarta.servlet.ServletException
      Returns the requested AdaptiveMedia instance. If no media is found matching the request, or an application error is raised while fetching the media, a null value is returned.
      Parameters:
      httpServletRequest - the request to process
      Returns:
      a AdaptiveMedia instance or null.
      Throws:
      IOException - if an IO error occurred while processing the request
      jakarta.servlet.ServletException - if any other processing error occurred