- security(String, String, String, String) - Static method in class org.apache.camel.component.sparkrest.CamelSpark
-
Configures connection to be secure
- setAccept(String) - Method in class org.apache.camel.component.sparkrest.SparkEndpoint
-
Accept type such as: 'text/xml', or 'application/json'.
- setDisableStreamCache(boolean) - Method in class org.apache.camel.component.sparkrest.SparkConfiguration
-
Determines whether or not the raw input stream from Spark HttpRequest#getContent() is cached or not
(Camel will read the stream into a in light-weight memory based Stream caching) cache.
- setEnableCors(boolean) - Method in class org.apache.camel.component.sparkrest.SparkConsumer
-
- setIpAddress(String) - Method in class org.apache.camel.component.sparkrest.SparkComponent
-
Set the IP address that Spark should listen on.
- setKeystoreFile(String) - Method in class org.apache.camel.component.sparkrest.SparkComponent
-
Configures connection to be secure to use the keystore file
- setKeystorePassword(String) - Method in class org.apache.camel.component.sparkrest.SparkComponent
-
Configures connection to be secure to use the keystore password
- setMapHeaders(boolean) - Method in class org.apache.camel.component.sparkrest.SparkConfiguration
-
If this option is enabled, then during binding from Spark to Camel Message then the headers will be mapped as well
(eg added as header to the Camel Message as well).
- setMatchOnUriPrefix(boolean) - Method in class org.apache.camel.component.sparkrest.SparkConfiguration
-
Whether or not the consumer should try to find a target consumer by matching the URI prefix if no exact match is found.
- setMaxThreads(int) - Method in class org.apache.camel.component.sparkrest.SparkComponent
-
Maximum number of threads in Spark thread-pool (shared globally)
- setMinThreads(int) - Method in class org.apache.camel.component.sparkrest.SparkComponent
-
Minimum number of threads in Spark thread-pool (shared globally)
- setPath(String) - Method in class org.apache.camel.component.sparkrest.SparkEndpoint
-
The content path which support Spark syntax.
- setPort(int) - Method in class org.apache.camel.component.sparkrest.SparkComponent
-
Port number.
- setSparkBinding(SparkBinding) - Method in class org.apache.camel.component.sparkrest.SparkComponent
-
To use a custom SparkBinding to map to/from Camel message.
- setSparkBinding(SparkBinding) - Method in class org.apache.camel.component.sparkrest.SparkEndpoint
-
To use a custom SparkBinding to map to/from Camel message.
- setSparkConfiguration(SparkConfiguration) - Method in class org.apache.camel.component.sparkrest.SparkComponent
-
To use the shared SparkConfiguration
- setSparkConfiguration(SparkConfiguration) - Method in class org.apache.camel.component.sparkrest.SparkEndpoint
-
To use the SparkConfiguration
- setTimeOutMillis(int) - Method in class org.apache.camel.component.sparkrest.SparkComponent
-
Thread idle timeout in millis where threads that has been idle for a longer period will be terminated from the thread pool
- setTransferException(boolean) - Method in class org.apache.camel.component.sparkrest.SparkConfiguration
-
If enabled and an Exchange failed processing on the consumer side, and if the caused Exception was send back serialized
in the response as a application/x-java-serialized-object content type.
- setTruststoreFile(String) - Method in class org.apache.camel.component.sparkrest.SparkComponent
-
Configures connection to be secure to use the truststore file
- setTruststorePassword(String) - Method in class org.apache.camel.component.sparkrest.SparkComponent
-
Configures connection to be secure to use the truststore password
- setUrlDecodeHeaders(boolean) - Method in class org.apache.camel.component.sparkrest.SparkConfiguration
-
If this option is enabled, then during binding from Spark to Camel Message then the header values will be URL decoded (eg %20 will be a space character.)
- setVerb(String) - Method in class org.apache.camel.component.sparkrest.SparkEndpoint
-
get, post, put, patch, delete, head, trace, connect, or options.
- shouldUrlDecodeHeader(SparkConfiguration, String, Object, String) - Method in class org.apache.camel.component.sparkrest.DefaultSparkBinding
-
Decodes the header if needed to, or returns the header value as is.
- spark(String, String, String, Route) - Static method in class org.apache.camel.component.sparkrest.CamelSpark
-
Adds a Spark REST verb that routes to the given spark route
- SparkBinding - Interface in org.apache.camel.component.sparkrest
-
- SparkComponent - Class in org.apache.camel.component.sparkrest
-
- SparkComponent() - Constructor for class org.apache.camel.component.sparkrest.SparkComponent
-
- SparkConfiguration - Class in org.apache.camel.component.sparkrest
-
- SparkConfiguration() - Constructor for class org.apache.camel.component.sparkrest.SparkConfiguration
-
- SparkConstants - Class in org.apache.camel.component.sparkrest
-
- SparkConsumer - Class in org.apache.camel.component.sparkrest
-
- SparkConsumer(Endpoint, Processor, CamelSparkRoute) - Constructor for class org.apache.camel.component.sparkrest.SparkConsumer
-
- SparkConverter - Class in org.apache.camel.component.sparkrest
-
- SparkEndpoint - Class in org.apache.camel.component.sparkrest
-
The spark-rest component is used for hosting REST services which has been defined using Camel rest-dsl.
- SparkEndpoint(String, Component) - Constructor for class org.apache.camel.component.sparkrest.SparkEndpoint
-
- SparkHeaderFilterStrategy - Class in org.apache.camel.component.sparkrest
-
Default Spark
HeaderFilterStrategy
used when binding with
SparkBinding
.
- SparkHeaderFilterStrategy() - Constructor for class org.apache.camel.component.sparkrest.SparkHeaderFilterStrategy
-
- SparkHelper - Class in org.apache.camel.component.sparkrest
-
- SparkMessage - Class in org.apache.camel.component.sparkrest
-
Spark based Message
.
- SparkMessage(Request, Response) - Constructor for class org.apache.camel.component.sparkrest.SparkMessage
-
- SPLAT - Static variable in class org.apache.camel.component.sparkrest.SparkConstants
-
- stop() - Static method in class org.apache.camel.component.sparkrest.CamelSpark
-
Stops the Spark Server