Package org.jupnp.model.profile
Klasse HeaderDeviceDetailsProvider
java.lang.Object
org.jupnp.model.profile.HeaderDeviceDetailsProvider
- Alle implementierten Schnittstellen:
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
-
Verschachtelte Klassen - Übersicht
Verschachtelte Klassen -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungHeaderDeviceDetailsProvider(DeviceDetails defaultDeviceDetails) HeaderDeviceDetailsProvider(DeviceDetails defaultDeviceDetails, Map<HeaderDeviceDetailsProvider.Key, DeviceDetails> headerDetails) -
Methodenübersicht
-
Konstruktordetails
-
HeaderDeviceDetailsProvider
-
HeaderDeviceDetailsProvider
public HeaderDeviceDetailsProvider(DeviceDetails defaultDeviceDetails, Map<HeaderDeviceDetailsProvider.Key, DeviceDetails> headerDetails)
-
-
Methodendetails
-
getDefaultDeviceDetails
-
getHeaderDetails
-
provide
- Angegeben von:
providein SchnittstelleDeviceDetailsProvider
-