public final class CoAPHelper extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getDefaultMethod(org.apache.camel.Exchange exchange,
org.eclipse.californium.core.CoapClient client)
Determines which CoAP request method to use based on the content of the target
request URI, the message body or value from the CamelCoapMethod header.
|
static String |
getDefaultMethodRestrict(String methodRestrict)
Determines which method verbs the CoAP server should be restricted to handling.
|
public static String getDefaultMethod(org.apache.camel.Exchange exchange, org.eclipse.californium.core.CoapClient client)
exchange
- the exchangeclient
- the CoAP clientApache Camel