Class CoAPEndpointBuilderFactory.CoAPHeaderNameBuilder

java.lang.Object
org.apache.camel.builder.endpoint.dsl.CoAPEndpointBuilderFactory.CoAPHeaderNameBuilder
Enclosing interface:
CoAPEndpointBuilderFactory

public static class CoAPEndpointBuilderFactory.CoAPHeaderNameBuilder extends Object
The builder of headers' name for the CoAP component.
  • Constructor Details

    • CoAPHeaderNameBuilder

      public CoAPHeaderNameBuilder()
  • Method Details

    • coapMethod

      public String coapMethod()
      The request method that the CoAP producer should use when calling the target CoAP server URI. Valid options are DELETE, GET, PING, POST & PUT. The option is a: String type. Group: common
      Returns:
      the name of the header CoapMethod.
    • coapResponseCode

      public String coapResponseCode()
      The CoAP response code sent by the external server. See RFC 7252 for details of what each code means. The option is a: String type. Group: common
      Returns:
      the name of the header CoapResponseCode.
    • coapUri

      public String coapUri()
      The URI of a CoAP server to call. Will override any existing URI configured directly on the endpoint. The option is a: String type. Group: common
      Returns:
      the name of the header CoapUri.
    • contentType

      public String contentType()
      The content type. The option is a: String type. Group: common
      Returns:
      the name of the header Content-Type.