Class RestEndpointBuilderFactory.RestHeaderNameBuilder
java.lang.Object
org.apache.camel.builder.endpoint.dsl.RestEndpointBuilderFactory.RestHeaderNameBuilder
- Enclosing interface:
RestEndpointBuilderFactory
The builder of headers' name for the REST component.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaccept()
The media type such as: 'text/xml', or 'application/json' this REST service accepts.The media type such as: 'text/xml', or 'application/json' this REST service returns.The method should be in upper case.The http response code.The query parameters for the rest call to be used.The http uri for the rest call to be used.
-
Constructor Details
-
RestHeaderNameBuilder
public RestHeaderNameBuilder()
-
-
Method Details
-
restHttpQuery
The query parameters for the rest call to be used. The option is a:String
type. Group: producer- Returns:
- the name of the header
RestHttpQuery
.
-
restHttpUri
The http uri for the rest call to be used. The option is a:String
type. Group: producer- Returns:
- the name of the header
RestHttpUri
.
-
httpMethod
The method should be in upper case. The option is a:String
type. Group: producer- Returns:
- the name of the header
HttpMethod
.
-
contentType
The media type such as: 'text/xml', or 'application/json' this REST service returns. The option is a:String
type. Group: producer- Returns:
- the name of the header
Content-Type
.
-
accept
The media type such as: 'text/xml', or 'application/json' this REST service accepts. The option is a:String
type. Group: producer- Returns:
- the name of the header
Accept
.
-
httpResponseCode
The http response code. The option is a:Integer
type. Group: producer- Returns:
- the name of the header
HttpResponseCode
.
-