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 TypeMethodDescriptionhandleRequest(javax.servlet.http.HttpServletRequest httpServletRequest) Returns the requestedAdaptiveMediainstance.
-
Method Details
-
handleRequest
AdaptiveMedia<T> handleRequest(javax.servlet.http.HttpServletRequest httpServletRequest) throws IOException, javax.servlet.ServletException Returns the requestedAdaptiveMediainstance. 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
AdaptiveMediainstance or null. - Throws:
IOException- if an IO error occurred while processing the requestjavax.servlet.ServletException- if any other processing error occurred
-