A C D G H I M N O P S T 

A

appendHeader(Map<String, Object>, String, Object) - Static method in class org.apache.camel.component.sparkrest.SparkHelper
Appends the key/value to the headers.

C

CamelSpark - Class in org.apache.camel.component.sparkrest
 
CamelSparkRoute - Class in org.apache.camel.component.sparkrest
 
CamelSparkRoute(SparkEndpoint, Processor) - Constructor for class org.apache.camel.component.sparkrest.CamelSparkRoute
 
CONTENT_TYPE_JAVA_SERIALIZED_OBJECT - Static variable in class org.apache.camel.component.sparkrest.SparkConstants
 
convertToRequest(Class<?>, Exchange, Object, TypeConverterRegistry) - Static method in class org.apache.camel.component.sparkrest.SparkConverter
A fallback converter that allows us to easily call Java beans and use the raw Spark Request as parameter types.
convertToResponse(Class<?>, Exchange, Object, TypeConverterRegistry) - Static method in class org.apache.camel.component.sparkrest.SparkConverter
A fallback converter that allows us to easily call Java beans and use the raw Spark Response as parameter types.
copy() - Method in class org.apache.camel.component.sparkrest.SparkConfiguration
Returns a copy of this configuration
createApiConsumer(CamelContext, Processor, String, RestConfiguration, Map<String, Object>) - Method in class org.apache.camel.component.sparkrest.SparkComponent
 
createConsumer(CamelContext, Processor, String, String, String, String, String, RestConfiguration, Map<String, Object>) - Method in class org.apache.camel.component.sparkrest.SparkComponent
 
createConsumer(Processor) - Method in class org.apache.camel.component.sparkrest.SparkEndpoint
 
createEndpoint(String, String, Map<String, Object>) - Method in class org.apache.camel.component.sparkrest.SparkComponent
 
createProducer() - Method in class org.apache.camel.component.sparkrest.SparkEndpoint
 

D

DefaultSparkBinding - Class in org.apache.camel.component.sparkrest
 
DefaultSparkBinding() - Constructor for class org.apache.camel.component.sparkrest.DefaultSparkBinding
 
doShutdown() - Method in class org.apache.camel.component.sparkrest.SparkComponent
 
doStart() - Method in class org.apache.camel.component.sparkrest.SparkComponent
 
doStart() - Method in class org.apache.camel.component.sparkrest.SparkConsumer
 
doStart() - Method in class org.apache.camel.component.sparkrest.SparkEndpoint
 

G

getAccept() - Method in class org.apache.camel.component.sparkrest.SparkEndpoint
 
getEndpoint() - Method in class org.apache.camel.component.sparkrest.SparkConsumer
 
getIpAddress() - Method in class org.apache.camel.component.sparkrest.SparkComponent
 
getKeystoreFile() - Method in class org.apache.camel.component.sparkrest.SparkComponent
 
getKeystorePassword() - Method in class org.apache.camel.component.sparkrest.SparkComponent
 
getMaxThreads() - Method in class org.apache.camel.component.sparkrest.SparkComponent
 
getMinThreads() - Method in class org.apache.camel.component.sparkrest.SparkComponent
 
getPath() - Method in class org.apache.camel.component.sparkrest.SparkEndpoint
 
getPort() - Method in class org.apache.camel.component.sparkrest.SparkComponent
 
getRequest() - Method in class org.apache.camel.component.sparkrest.SparkMessage
 
getResponse() - Method in class org.apache.camel.component.sparkrest.SparkMessage
 
getSparkBinding() - Method in class org.apache.camel.component.sparkrest.SparkComponent
 
getSparkBinding() - Method in class org.apache.camel.component.sparkrest.SparkEndpoint
 
getSparkConfiguration() - Method in class org.apache.camel.component.sparkrest.SparkComponent
 
getSparkConfiguration() - Method in class org.apache.camel.component.sparkrest.SparkEndpoint
 
getTimeOutMillis() - Method in class org.apache.camel.component.sparkrest.SparkComponent
 
getTruststoreFile() - Method in class org.apache.camel.component.sparkrest.SparkComponent
 
getTruststorePassword() - Method in class org.apache.camel.component.sparkrest.SparkComponent
 
getVerb() - Method in class org.apache.camel.component.sparkrest.SparkEndpoint
 

H

handle(Request, Response) - Method in class org.apache.camel.component.sparkrest.CamelSparkRoute
 

I

initialize() - Method in class org.apache.camel.component.sparkrest.SparkHeaderFilterStrategy
 
ipAddress(String) - Static method in class org.apache.camel.component.sparkrest.CamelSpark
Configures the IP address to use
isDisableStreamCache() - Method in class org.apache.camel.component.sparkrest.SparkConfiguration
 
isEnableCors() - Method in class org.apache.camel.component.sparkrest.SparkConsumer
 
isMapHeaders() - Method in class org.apache.camel.component.sparkrest.SparkConfiguration
 
isMatchOnUriPrefix() - Method in class org.apache.camel.component.sparkrest.SparkConfiguration
 
isSingleton() - Method in class org.apache.camel.component.sparkrest.SparkEndpoint
 
isTransferException() - Method in class org.apache.camel.component.sparkrest.SparkConfiguration
 
isUrlDecodeHeaders() - Method in class org.apache.camel.component.sparkrest.SparkConfiguration
 

M

mapKey(String) - Method in class org.apache.camel.component.sparkrest.DefaultSparkBinding
 

N

newInstance() - Method in class org.apache.camel.component.sparkrest.SparkMessage
 

O

org.apache.camel.component.sparkrest - package org.apache.camel.component.sparkrest
 

P

populateCamelHeaders(Request, Map<String, Object>, Exchange, SparkConfiguration) - Method in class org.apache.camel.component.sparkrest.DefaultSparkBinding
 
populateCamelHeaders(Request, Map<String, Object>, Exchange, SparkConfiguration) - Method in interface org.apache.camel.component.sparkrest.SparkBinding
Binds from Spark Request to Camel headers as a Map.
port(int) - Static method in class org.apache.camel.component.sparkrest.CamelSpark
Configures the port number to use

S

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

T

threadPool(int, int, int) - Static method in class org.apache.camel.component.sparkrest.CamelSpark
Configures the thread pool
toCamelMessage(Request, Exchange, SparkConfiguration) - Method in class org.apache.camel.component.sparkrest.DefaultSparkBinding
 
toCamelMessage(Request, Exchange, SparkConfiguration) - Method in interface org.apache.camel.component.sparkrest.SparkBinding
Binds from Spark Request to Camel Message.
toSparkResponse(Message, Response, SparkConfiguration) - Method in class org.apache.camel.component.sparkrest.DefaultSparkBinding
 
toSparkResponse(Message, Response, SparkConfiguration) - Method in interface org.apache.camel.component.sparkrest.SparkBinding
Binds from Camel Message to Spark Response.
A C D G H I M N O P S T 

Apache Camel