Package nl.vpro.media.odi.handler
Class AAPILocationHandler
java.lang.Object
nl.vpro.media.odi.handler.AAPILocationHandler
- All Implemented Interfaces:
LocationProducer
TODO
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetClientHost(jakarta.servlet.http.HttpServletRequest request) Produce aLocationResult.intDoes this handler support the location given the pubOptions supportedvoidsetAAPIServer(String aapiServer) @NonNull StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface nl.vpro.media.odi.LocationProducer
produceIfSupports, supports
-
Constructor Details
-
AAPILocationHandler
public AAPILocationHandler()
-
-
Method Details
-
score
Does this handler support the location given the pubOptions supported- Specified by:
scorein interfaceLocationProducer- Parameters:
location- location with a programUrlpubOptions- ordered list with puboptions which should contain one of [m3u8, f4m]
-
produce
public LocationResult produce(Location location, jakarta.servlet.http.HttpServletRequest request, String... pubOptions) Description copied from interface:LocationProducerProduce aLocationResult. In principal nevernull- Specified by:
producein interfaceLocationProducer
-
getClientHost
-
setAAPIServer
-
toString
-