@UriEndpoint(firstVersion="2.16.0", scheme="coap", title="CoAP", syntax="coap:uri", consumerClass=CoAPConsumer.class, label="iot") public class CoAPEndpoint extends org.apache.camel.impl.DefaultEndpoint
Constructor and Description |
---|
CoAPEndpoint(String uri,
CoAPComponent component) |
Modifier and Type | Method and Description |
---|---|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
createProducer() |
String |
getCoapMethodRestrict()
Comma separated list of methods that the CoAP consumer will bind to.
|
org.eclipse.californium.core.CoapServer |
getCoapServer() |
URI |
getUri()
The URI for the CoAP endpoint
|
boolean |
isSingleton() |
void |
setCoapMethodRestrict(String coapMethodRestrict) |
void |
setUri(URI u) |
configureConsumer, configurePollingConsumer, configureProperties, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isBridgeErrorHandler, isLenientProperties, isPollingConsumerBlockWhenFull, isSynchronous, setBridgeErrorHandler, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toString
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
public CoAPEndpoint(String uri, CoAPComponent component)
public void setCoapMethodRestrict(String coapMethodRestrict)
public String getCoapMethodRestrict()
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor) throws Exception
Exception
public boolean isSingleton()
public void setUri(URI u)
public URI getUri()
public org.eclipse.californium.core.CoapServer getCoapServer()
Apache Camel