Interface Olingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- All Known Subinterfaces:
Olingo2EndpointBuilderFactory.Olingo2EndpointBuilder
- Enclosing interface:
- Olingo2EndpointBuilderFactory
public static interface Olingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint producers for the Olingo2 component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default Olingo2EndpointBuilderFactory.AdvancedOlingo2EndpointProducerBuilder
advanced()
default Olingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder
connectTimeout(int connectTimeout)
HTTP connection creation timeout in milliseconds, defaults to 30,000 (30 seconds).default Olingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder
connectTimeout(String connectTimeout)
HTTP connection creation timeout in milliseconds, defaults to 30,000 (30 seconds).default Olingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder
contentType(String contentType)
Content-Type header value can be used to specify JSON or XML message format, defaults to application/json;charset=utf-8.default Olingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder
entityProviderReadProperties(String entityProviderReadProperties)
Custom entity provider read properties applied to all read operations.default Olingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder
entityProviderReadProperties(org.apache.olingo.odata2.api.ep.EntityProviderReadProperties entityProviderReadProperties)
Custom entity provider read properties applied to all read operations.default Olingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder
entityProviderWriteProperties(String entityProviderWriteProperties)
Custom entity provider write properties applied to create, update, patch, batch and merge operations.default Olingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder
entityProviderWriteProperties(org.apache.olingo.odata2.api.ep.EntityProviderWriteProperties entityProviderWriteProperties)
Custom entity provider write properties applied to create, update, patch, batch and merge operations.default Olingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder
filterAlreadySeen(boolean filterAlreadySeen)
Set this to true to filter out results that have already been communicated by this component.default Olingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder
filterAlreadySeen(String filterAlreadySeen)
Set this to true to filter out results that have already been communicated by this component.default Olingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder
httpHeaders(String httpHeaders)
Custom HTTP headers to inject into every request, this could include OAuth tokens, etc.default Olingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder
httpHeaders(Map<String,String> httpHeaders)
Custom HTTP headers to inject into every request, this could include OAuth tokens, etc.default Olingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder
inBody(String inBody)
Sets the name of a parameter to be passed in the exchange In Body.default Olingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder
proxy(String proxy)
HTTP proxy server configuration.default Olingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder
proxy(org.apache.http.HttpHost proxy)
HTTP proxy server configuration.default Olingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder
serviceUri(String serviceUri)
Target OData service base URI, e.g.default Olingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder
socketTimeout(int socketTimeout)
HTTP request timeout in milliseconds, defaults to 30,000 (30 seconds).default Olingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder
socketTimeout(String socketTimeout)
HTTP request timeout in milliseconds, defaults to 30,000 (30 seconds).default Olingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder
sslContextParameters(String sslContextParameters)
To configure security using SSLContextParameters.default Olingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder
sslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)
To configure security using SSLContextParameters.
-
-
-
Method Detail
-
advanced
default Olingo2EndpointBuilderFactory.AdvancedOlingo2EndpointProducerBuilder advanced()
-
connectTimeout
default Olingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder connectTimeout(int connectTimeout)
HTTP connection creation timeout in milliseconds, defaults to 30,000 (30 seconds). The option is a: <code>int</code> type. Default: 30000 Group: common- Parameters:
connectTimeout
- the value to set- Returns:
- the dsl builder
-
connectTimeout
default Olingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder connectTimeout(String connectTimeout)
HTTP connection creation timeout in milliseconds, defaults to 30,000 (30 seconds). The option will be converted to a <code>int</code> type. Default: 30000 Group: common- Parameters:
connectTimeout
- the value to set- Returns:
- the dsl builder
-
contentType
default Olingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder contentType(String contentType)
Content-Type header value can be used to specify JSON or XML message format, defaults to application/json;charset=utf-8. The option is a: <code>java.lang.String</code> type. Default: application/json;charset=utf-8 Group: common- Parameters:
contentType
- the value to set- Returns:
- the dsl builder
-
entityProviderReadProperties
default Olingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder entityProviderReadProperties(org.apache.olingo.odata2.api.ep.EntityProviderReadProperties entityProviderReadProperties)
Custom entity provider read properties applied to all read operations. The option is a: <code>org.apache.olingo.odata2.api.ep.EntityProviderReadProperties</code> type. Group: common- Parameters:
entityProviderReadProperties
- the value to set- Returns:
- the dsl builder
-
entityProviderReadProperties
default Olingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder entityProviderReadProperties(String entityProviderReadProperties)
Custom entity provider read properties applied to all read operations. The option will be converted to a <code>org.apache.olingo.odata2.api.ep.EntityProviderReadProperties</code> type. Group: common- Parameters:
entityProviderReadProperties
- the value to set- Returns:
- the dsl builder
-
entityProviderWriteProperties
default Olingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder entityProviderWriteProperties(org.apache.olingo.odata2.api.ep.EntityProviderWriteProperties entityProviderWriteProperties)
Custom entity provider write properties applied to create, update, patch, batch and merge operations. For instance users can skip the Json object wrapper or enable content only mode when sending request data. A service URI set in the properties will always be overwritten by the serviceUri configuration parameter. Please consider to using the serviceUri configuration parameter instead of setting the respective write property here. The option is a: <code>org.apache.olingo.odata2.api.ep.EntityProviderWriteProperties</code> type. Group: common- Parameters:
entityProviderWriteProperties
- the value to set- Returns:
- the dsl builder
-
entityProviderWriteProperties
default Olingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder entityProviderWriteProperties(String entityProviderWriteProperties)
Custom entity provider write properties applied to create, update, patch, batch and merge operations. For instance users can skip the Json object wrapper or enable content only mode when sending request data. A service URI set in the properties will always be overwritten by the serviceUri configuration parameter. Please consider to using the serviceUri configuration parameter instead of setting the respective write property here. The option will be converted to a <code>org.apache.olingo.odata2.api.ep.EntityProviderWriteProperties</code> type. Group: common- Parameters:
entityProviderWriteProperties
- the value to set- Returns:
- the dsl builder
-
filterAlreadySeen
default Olingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder filterAlreadySeen(boolean filterAlreadySeen)
Set this to true to filter out results that have already been communicated by this component. The option is a: <code>boolean</code> type. Default: false Group: common- Parameters:
filterAlreadySeen
- the value to set- Returns:
- the dsl builder
-
filterAlreadySeen
default Olingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder filterAlreadySeen(String filterAlreadySeen)
Set this to true to filter out results that have already been communicated by this component. The option will be converted to a <code>boolean</code> type. Default: false Group: common- Parameters:
filterAlreadySeen
- the value to set- Returns:
- the dsl builder
-
httpHeaders
default Olingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder httpHeaders(Map<String,String> httpHeaders)
Custom HTTP headers to inject into every request, this could include OAuth tokens, etc. The option is a: <code>java.util.Map<java.lang.String, java.lang.String></code> type. Group: common- Parameters:
httpHeaders
- the value to set- Returns:
- the dsl builder
-
httpHeaders
default Olingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder httpHeaders(String httpHeaders)
Custom HTTP headers to inject into every request, this could include OAuth tokens, etc. The option will be converted to a <code>java.util.Map<java.lang.String, java.lang.String></code> type. Group: common- Parameters:
httpHeaders
- the value to set- Returns:
- the dsl builder
-
inBody
default Olingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder inBody(String inBody)
Sets the name of a parameter to be passed in the exchange In Body. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
inBody
- the value to set- Returns:
- the dsl builder
-
proxy
default Olingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder proxy(org.apache.http.HttpHost proxy)
HTTP proxy server configuration. The option is a: <code>org.apache.http.HttpHost</code> type. Group: common- Parameters:
proxy
- the value to set- Returns:
- the dsl builder
-
proxy
default Olingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder proxy(String proxy)
HTTP proxy server configuration. The option will be converted to a <code>org.apache.http.HttpHost</code> type. Group: common- Parameters:
proxy
- the value to set- Returns:
- the dsl builder
-
serviceUri
default Olingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder serviceUri(String serviceUri)
Target OData service base URI, e.g. http://services.odata.org/OData/OData.svc. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
serviceUri
- the value to set- Returns:
- the dsl builder
-
socketTimeout
default Olingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder socketTimeout(int socketTimeout)
HTTP request timeout in milliseconds, defaults to 30,000 (30 seconds). The option is a: <code>int</code> type. Default: 30000 Group: common- Parameters:
socketTimeout
- the value to set- Returns:
- the dsl builder
-
socketTimeout
default Olingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder socketTimeout(String socketTimeout)
HTTP request timeout in milliseconds, defaults to 30,000 (30 seconds). The option will be converted to a <code>int</code> type. Default: 30000 Group: common- Parameters:
socketTimeout
- the value to set- Returns:
- the dsl builder
-
sslContextParameters
default Olingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder sslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)
To configure security using SSLContextParameters. The option is a: <code>org.apache.camel.support.jsse.SSLContextParameters</code> type. Group: security- Parameters:
sslContextParameters
- the value to set- Returns:
- the dsl builder
-
sslContextParameters
default Olingo2EndpointBuilderFactory.Olingo2EndpointProducerBuilder sslContextParameters(String sslContextParameters)
To configure security using SSLContextParameters. The option will be converted to a <code>org.apache.camel.support.jsse.SSLContextParameters</code> type. Group: security- Parameters:
sslContextParameters
- the value to set- Returns:
- the dsl builder
-
-