Package | Description |
---|---|
org.apache.camel |
The core Camel API.
|
org.apache.camel.converter.stream |
Package with converters for dealing with stream-based messages
|
org.apache.camel.impl |
Default implementation classes for Camel Core
|
org.apache.camel.processor |
A collection of Processor
implementations which are used to implement the
Enterprise Integration Patterns
|
org.apache.camel.spi |
Service Provider Interfaces used internally by the Camel runtime which are plugin strategies.
|
Modifier and Type | Method and Description |
---|---|
StreamCache |
StreamCache.copy(Exchange exchange)
Create a copy of the stream.
|
Modifier and Type | Class and Description |
---|---|
class |
ByteArrayInputStreamCache
|
class |
FileInputStreamCache
A
StreamCache for File s |
class |
InputStreamCache
A
StreamCache for caching using an in-memory byte array. |
class |
ReaderCache
A
StreamCache for String Reader s |
class |
SourceCache
StreamCache implementation for StringSource s |
class |
StreamSourceCache
A
StreamCache for StreamSource s |
Modifier and Type | Method and Description |
---|---|
static StreamCache |
StreamCacheConverter.convertToStreamCache(ByteArrayInputStream stream,
Exchange exchange) |
static StreamCache |
StreamCacheConverter.convertToStreamCache(BytesSource source) |
static StreamCache |
StreamCacheConverter.convertToStreamCache(CachedOutputStream cos,
Exchange exchange) |
static StreamCache |
StreamCacheConverter.convertToStreamCache(InputStream stream,
Exchange exchange) |
static StreamCache |
StreamCacheConverter.convertToStreamCache(Reader reader,
Exchange exchange) |
static StreamCache |
StreamCacheConverter.convertToStreamCache(SAXSource source,
Exchange exchange) |
static StreamCache |
StreamCacheConverter.convertToStreamCache(StreamSource source,
Exchange exchange) |
static StreamCache |
StreamCacheConverter.convertToStreamCache(StringSource source) |
StreamCache |
InputStreamCache.copy(Exchange exchange) |
StreamCache |
StreamSourceCache.copy(Exchange exchange) |
StreamCache |
FileInputStreamCache.copy(Exchange exchange) |
StreamCache |
ByteArrayInputStreamCache.copy(Exchange exchange) |
StreamCache |
ReaderCache.copy(Exchange exchange) |
StreamCache |
SourceCache.copy(Exchange exchange) |
StreamCache |
CachedOutputStream.getStreamCache()
Deprecated.
|
StreamCache |
CachedOutputStream.newStreamCache()
Creates a new
StreamCache from the data cached in this OutputStream . |
Modifier and Type | Method and Description |
---|---|
static byte[] |
StreamCacheConverter.convertToByteArray(StreamCache cache,
Exchange exchange) |
static ByteBuffer |
StreamCacheConverter.convertToByteBuffer(StreamCache cache,
Exchange exchange) |
static Serializable |
StreamCacheConverter.convertToSerializable(StreamCache cache,
Exchange exchange) |
Constructor and Description |
---|
StreamSourceCache(StreamCache streamCache) |
Modifier and Type | Method and Description |
---|---|
StreamCache |
DefaultStreamCachingStrategy.cache(Exchange exchange) |
Modifier and Type | Method and Description |
---|---|
StreamCache |
CamelInternalProcessor.StreamCachingAdvice.before(Exchange exchange) |
Modifier and Type | Method and Description |
---|---|
void |
CamelInternalProcessor.StreamCachingAdvice.after(Exchange exchange,
StreamCache sc) |
Modifier and Type | Method and Description |
---|---|
StreamCache |
StreamCachingStrategy.cache(Exchange exchange)
Caches the body aas a
StreamCache . |
Apache Camel