Class VertxHttpEndpointBuilderFactory.VertxHttpHeaderNameBuilder

java.lang.Object
org.apache.camel.builder.endpoint.dsl.VertxHttpEndpointBuilderFactory.VertxHttpHeaderNameBuilder
Enclosing interface:
VertxHttpEndpointBuilderFactory

public static class VertxHttpEndpointBuilderFactory.VertxHttpHeaderNameBuilder extends Object
The builder of headers' name for the Vert.x HTTP Client component.
  • Constructor Details

    • VertxHttpHeaderNameBuilder

      public VertxHttpHeaderNameBuilder()
  • Method Details

    • httpMethod

      public String httpMethod()
      The http method. The option is a: io.vertx.core.http.HttpMethod type. Group: producer
      Returns:
      the name of the header HttpMethod.
    • httpResponseCode

      public String httpResponseCode()
      The HTTP response code from the external server. The option is a: Integer type. Group: producer
      Returns:
      the name of the header HttpResponseCode.
    • httpResponseText

      public String httpResponseText()
      The HTTP response text from the external server. The option is a: String type. Group: producer
      Returns:
      the name of the header HttpResponseText.
    • contentType

      public String contentType()
      The HTTP content type. Is set on both the IN and OUT message to provide a content type, such as text/html. The option is a: String type. Group: producer
      Returns:
      the name of the header Content-Type.
    • httpQuery

      public String httpQuery()
      URI parameters. Will override existing URI parameters set directly on the endpoint. The option is a: String type. Group: producer
      Returns:
      the name of the header HttpQuery.
    • httpUri

      public String httpUri()
      URI to call. Will override the existing URI set directly on the endpoint. This URI is the URI of the http server to call. Its not the same as the Camel endpoint URI, where you can configure endpoint options such as security etc. This header does not support that, its only the URI of the http server. The option is a: String type. Group: producer
      Returns:
      the name of the header HttpUri.
    • httpPath

      public String httpPath()
      Request URI's path, the header will be used to build the request URI with the HTTP_URI. The option is a: String type. Group: producer
      Returns:
      the name of the header HttpPath.
    • contentEncoding

      public String contentEncoding()
      The HTTP content encoding. Is set to provide a content encoding, such as gzip. The option is a: String type. Group: producer
      Returns:
      the name of the header Content-Encoding.