Klasse HeaderDeviceDetailsProvider

java.lang.Object
org.jupnp.model.profile.HeaderDeviceDetailsProvider
Alle implementierten Schnittstellen:
DeviceDetailsProvider

public class HeaderDeviceDetailsProvider extends Object implements DeviceDetailsProvider
Selects device details based on a regex and the client's HTTP headers.

This provider will lookup and match a DeviceDetails entry in a given map that is keyed by HTTP header name and a regular expression pattern. If the control point sent an HTTP header that matches an entry's name, and the value of the control points header matches the pattern of the entry, the value of the entry is applied. This is a case-insensitive pattern match.

Autor:
Mario Franco, Christian Bauer