|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.camel.processor.interceptor.StreamCaching
public final class StreamCaching
InterceptStrategy
implementation to configure stream caching on a RouteContext
Constructor Summary | |
---|---|
StreamCaching()
|
Method Summary | |
---|---|
static StreamCaching |
getStreamCaching(CamelContext context)
A helper method to return the StreamCaching instance for a given CamelContext if one is enabled |
static void |
noStreamCaching(List<InterceptStrategy> interceptors)
Remove the StreamCachingInterceptor from the given list of interceptors |
String |
toString()
|
Processor |
wrapProcessorInInterceptors(ProcessorDefinition processorDefinition,
Processor target,
Processor nextTarget)
This method is invoked by ProcessorDefinition.wrapProcessor(RouteContext, Processor)
to give the implementor an opportunity to wrap the target processor
in a route. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StreamCaching()
Method Detail |
---|
public Processor wrapProcessorInInterceptors(ProcessorDefinition processorDefinition, Processor target, Processor nextTarget) throws Exception
InterceptStrategy
ProcessorDefinition.wrapProcessor(RouteContext, Processor)
to give the implementor an opportunity to wrap the target processor
in a route.
wrapProcessorInInterceptors
in interface InterceptStrategy
processorDefinition
- the object that invokes this methodtarget
- the processor to be wrappednextTarget
- the next processor to be routed to
Exception
- can be thrownpublic static StreamCaching getStreamCaching(CamelContext context)
CamelContext
if one is enabled
context
- the camel context the stream cache is connected to
public static void noStreamCaching(List<InterceptStrategy> interceptors)
StreamCachingInterceptor
from the given list of interceptors
interceptors
- the list of interceptorspublic String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |