public class ServedResourceMessageDeliverer
extends org.eclipse.californium.core.server.ServerMessageDeliverer
| Constructor and Description |
|---|
ServedResourceMessageDeliverer(ResourceRegistry registry,
org.eclipse.californium.elements.config.Configuration config) |
| Modifier and Type | Method and Description |
|---|---|
protected org.eclipse.californium.core.server.resources.Resource |
findResource(org.eclipse.californium.core.network.Exchange exchange)
Searches the registry used to find the resource that should process the coap request.
|
protected org.eclipse.californium.core.server.resources.Resource |
findResource(List<String> path)
This method must not be called.
|
public ServedResourceMessageDeliverer(ResourceRegistry registry, org.eclipse.californium.elements.config.Configuration config)
registry - The resource registry.config - The server configuration.protected org.eclipse.californium.core.server.resources.Resource findResource(org.eclipse.californium.core.network.Exchange exchange)
throws org.eclipse.californium.core.server.DelivererException
findResource in class org.eclipse.californium.core.server.ServerMessageDelivererexchange - The exchange containing the inbound request including the
path of resource namesnull, if not foundorg.eclipse.californium.core.server.DelivererException - if an other error is detected.protected org.eclipse.californium.core.server.resources.Resource findResource(List<String> path) throws org.eclipse.californium.core.server.DelivererException
findResource in class org.eclipse.californium.core.server.ServerMessageDelivererpath - the path as list of resource namesorg.eclipse.californium.core.server.DelivererException - Is always thrown.Copyright © 2019–2025 Teslanet.nl. All rights reserved.