Class VertxHttpEndpointBuilderFactory.VertxHttpHeaderNameBuilder
java.lang.Object
org.apache.camel.builder.endpoint.dsl.VertxHttpEndpointBuilderFactory.VertxHttpHeaderNameBuilder
- Enclosing interface:
- VertxHttpEndpointBuilderFactory
The builder of headers' name for the Vert.x HTTP Client component.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe HTTP content encoding.The HTTP content type.The http method.httpPath()
Request URI's path, the header will be used to build the request URI with the HTTP_URI.URI parameters.The HTTP response code from the external server.The HTTP response text from the external server.httpUri()
URI to call.
-
Constructor Details
-
VertxHttpHeaderNameBuilder
public VertxHttpHeaderNameBuilder()
-
-
Method Details
-
httpMethod
The http method. The option is a:io.vertx.core.http.HttpMethod
type. Group: producer- Returns:
- the name of the header
HttpMethod
.
-
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
The HTTP response text from the external server. The option is a:String
type. Group: producer- Returns:
- the name of the header
HttpResponseText
.
-
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
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
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
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
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
.
-