Class HttpEndpointBuilderFactory.HttpHeaderNameBuilder
java.lang.Object
org.apache.camel.builder.endpoint.dsl.HttpEndpointBuilderFactory.HttpHeaderNameBuilder
- Enclosing interface:
- HttpEndpointBuilderFactory
The builder of headers' name for the HTTP component.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe HTTP content encoding.The HTTP content type.host()
The target host.The character encoding.The http method to use.httpPath()
Request URI's path, the header will be used to build the request URI with the HTTP_URI.The version of the http protocol used.URI parameters.The http raw query.The HTTP response code from the external server.The HTTP response text from the external server.httpUri()
URI to call.The rest http query.The rest http URI.
-
Constructor Details
-
HttpHeaderNameBuilder
public HttpHeaderNameBuilder()
-
-
Method Details
-
contentEncoding
The HTTP content encoding. Is set on both the IN and OUT message to provide a content encoding, such as gzip. The option is a:String
type. Group: producer- Returns:
- the name of the header
Content-Encoding
.
-
httpResponseCode
The HTTP response code from the external server. Is 200 for OK. The option is a:int
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
.
-
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
.
-
httpProtocolVersion
The version of the http protocol used. The option is a:String
type. Group: producer- Returns:
- the name of the header
HttpProtocolVersion
.
-
host
The target host. The option is a:String
type. Group: producer- Returns:
- the name of the header
Host
.
-
restHttpUri
The rest http URI. The option is a:String
type. Group: producer- Returns:
- the name of the header
RestHttpUri
.
-
httpUri
URI to call. Will override 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
.
-
restHttpQuery
The rest http query. The option is a:String
type. Group: producer- Returns:
- the name of the header
RestHttpQuery
.
-
httpRawQuery
The http raw query. The option is a:String
type. Group: producer- Returns:
- the name of the header
HttpRawQuery
.
-
httpMethod
The http method to use. The option is a:org.apache.camel.component.http.HttpMethods
type. Group: producer- Returns:
- the name of the header
HttpMethod
.
-
httpCharacterEncoding
The character encoding. The option is a:String
type. Group: producer- Returns:
- the name of the header
HttpCharacterEncoding
.
-
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
.
-