public interface AMRequestHandler<T>
| Modifier and Type | Method and Description |
|---|---|
AdaptiveMedia<T> |
handleRequest(javax.servlet.http.HttpServletRequest httpServletRequest)
Returns the requested
AdaptiveMedia instance. |
AdaptiveMedia<T> handleRequest(javax.servlet.http.HttpServletRequest httpServletRequest) throws java.io.IOException, javax.servlet.ServletException
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.httpServletRequest - the request to processAdaptiveMedia instance or null.java.io.IOException - if an IO error occurred while processing the requestjavax.servlet.ServletException - if any other processing error occurred