Class CachedCxfPayload<T>
java.lang.Object
org.apache.camel.component.cxf.common.CxfPayload<T>
org.apache.camel.component.cxf.converter.CachedCxfPayload<T>
- All Implemented Interfaces:
org.apache.camel.StreamCache
StreamCache implementation for CXF payload.
Important: All the classes from the Camel release that implements StreamCache is NOT intended for end
users to create as instances, but they are part of Camels
stream-caching functionality.-
Field Summary
Fields inherited from interface org.apache.camel.StreamCache
DEFAULT_SPOOL_THRESHOLD -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.camel.component.cxf.common.CxfPayload
addNamespace, getBody, getBodySources, getHeaders, getNsMap, setBodySources, toString
-
Constructor Details
-
CachedCxfPayload
-
-
Method Details
-
reset
public void reset()- Specified by:
resetin interfaceorg.apache.camel.StreamCache
-
writeTo
- Specified by:
writeToin interfaceorg.apache.camel.StreamCache- Throws:
IOException
-
inMemory
public boolean inMemory()- Specified by:
inMemoryin interfaceorg.apache.camel.StreamCache
-
length
public long length()- Specified by:
lengthin interfaceorg.apache.camel.StreamCache
-
position
public long position()- Specified by:
positionin interfaceorg.apache.camel.StreamCache
-
copy
- Specified by:
copyin interfaceorg.apache.camel.StreamCache- Throws:
IOException
-