Modifier and Type | Method and Description |
---|---|
SparkConfiguration |
SparkConfiguration.copy()
Returns a copy of this configuration
|
SparkConfiguration |
SparkComponent.getSparkConfiguration() |
SparkConfiguration |
SparkEndpoint.getSparkConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
SparkBinding.populateCamelHeaders(spark.Request request,
Map<String,Object> headers,
org.apache.camel.Exchange exchange,
SparkConfiguration configuration)
Binds from Spark
Request to Camel headers as a Map . |
void |
DefaultSparkBinding.populateCamelHeaders(spark.Request request,
Map<String,Object> headers,
org.apache.camel.Exchange exchange,
SparkConfiguration configuration) |
void |
SparkComponent.setSparkConfiguration(SparkConfiguration sparkConfiguration)
To use the shared SparkConfiguration
|
void |
SparkEndpoint.setSparkConfiguration(SparkConfiguration sparkConfiguration)
To use the SparkConfiguration
|
protected String |
DefaultSparkBinding.shouldUrlDecodeHeader(SparkConfiguration configuration,
String headerName,
Object value,
String charset)
Decodes the header if needed to, or returns the header value as is.
|
org.apache.camel.Message |
SparkBinding.toCamelMessage(spark.Request request,
org.apache.camel.Exchange exchange,
SparkConfiguration configuration)
Binds from Spark
Request to Camel Message . |
org.apache.camel.Message |
DefaultSparkBinding.toCamelMessage(spark.Request request,
org.apache.camel.Exchange exchange,
SparkConfiguration configuration) |
void |
SparkBinding.toSparkResponse(org.apache.camel.Message message,
spark.Response response,
SparkConfiguration configuration)
Binds from Camel
Message to Spark Response . |
void |
DefaultSparkBinding.toSparkResponse(org.apache.camel.Message message,
spark.Response response,
SparkConfiguration configuration) |
Apache Camel