Interface GraphqlEndpointBuilderFactory.GraphqlEndpointBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
- GraphqlEndpointBuilderFactory
public static interface GraphqlEndpointBuilderFactory.GraphqlEndpointBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint for the GraphQL component.
-
Method Summary
Modifier and TypeMethodDescriptionaccessToken
(String accessToken) The access token sent in the Authorization header.advanced()
jwtAuthorizationType
(String jwtAuthorizationType) The JWT Authorization type.operationName
(String operationName) The query or mutation name.The password for Basic authentication.The proxy host in the format hostname:port.The query text.The query file name located in the classpath.queryHeader
(String queryHeader) The name of a header containing the GraphQL query.The username for Basic authentication.The JsonObject instance containing the operation variables.variables
(org.apache.camel.util.json.JsonObject variables) The JsonObject instance containing the operation variables.variablesHeader
(String variablesHeader) The name of a header containing a JsonObject instance containing the operation variables.Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
-
Method Details
-
advanced
-
operationName
The query or mutation name. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
operationName
- the value to set- Returns:
- the dsl builder
-
proxyHost
The proxy host in the format hostname:port. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
proxyHost
- the value to set- Returns:
- the dsl builder
-
query
The query text. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
query
- the value to set- Returns:
- the dsl builder
-
queryFile
The query file name located in the classpath. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
queryFile
- the value to set- Returns:
- the dsl builder
-
queryHeader
The name of a header containing the GraphQL query. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
queryHeader
- the value to set- Returns:
- the dsl builder
-
variables
default GraphqlEndpointBuilderFactory.GraphqlEndpointBuilder variables(org.apache.camel.util.json.JsonObject variables) The JsonObject instance containing the operation variables. The option is a: <code>org.apache.camel.util.json.JsonObject</code> type. Group: producer- Parameters:
variables
- the value to set- Returns:
- the dsl builder
-
variables
The JsonObject instance containing the operation variables. The option will be converted to a <code>org.apache.camel.util.json.JsonObject</code> type. Group: producer- Parameters:
variables
- the value to set- Returns:
- the dsl builder
-
variablesHeader
default GraphqlEndpointBuilderFactory.GraphqlEndpointBuilder variablesHeader(String variablesHeader) The name of a header containing a JsonObject instance containing the operation variables. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
variablesHeader
- the value to set- Returns:
- the dsl builder
-
accessToken
The access token sent in the Authorization header. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
accessToken
- the value to set- Returns:
- the dsl builder
-
jwtAuthorizationType
default GraphqlEndpointBuilderFactory.GraphqlEndpointBuilder jwtAuthorizationType(String jwtAuthorizationType) The JWT Authorization type. Default is Bearer. The option is a: <code>java.lang.String</code> type. Default: Bearer Group: security- Parameters:
jwtAuthorizationType
- the value to set- Returns:
- the dsl builder
-
password
The password for Basic authentication. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
password
- the value to set- Returns:
- the dsl builder
-
username
The username for Basic authentication. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
username
- the value to set- Returns:
- the dsl builder
-