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

    • coapETag

      public String coapETag()
      The CoAP ETag for the response. The option is a: byte[] type. Group: common
      Returns:
      the name of the header CoapETag.
    • coapMaxAge

      public String coapMaxAge()
      The CoAP Max-Age for the response body. The option is a: java.lang.Long type. Group: common
      Returns:
      the name of the header CoapMaxAge.
    • 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.