org.apache.cxf.attachment
Class AttachmentDeserializer
java.lang.Object
org.apache.cxf.attachment.AttachmentDeserializer
public class AttachmentDeserializer
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ATTACHMENT_DIRECTORY
public static final java.lang.String ATTACHMENT_DIRECTORY
- See Also:
- Constant Field Values
ATTACHMENT_MEMORY_THRESHOLD
public static final java.lang.String ATTACHMENT_MEMORY_THRESHOLD
- See Also:
- Constant Field Values
THRESHOLD
public static final int THRESHOLD
- See Also:
- Constant Field Values
AttachmentDeserializer
public AttachmentDeserializer(Message message)
AttachmentDeserializer
public AttachmentDeserializer(Message message,
java.util.List<java.lang.String> supportedTypes)
initializeAttachments
public void initializeAttachments()
throws java.io.IOException
- Throws:
java.io.IOException
initializeRootMessage
protected void initializeRootMessage()
throws java.io.IOException
- Throws:
java.io.IOException
readNext
public AttachmentImpl readNext()
throws java.io.IOException
- Throws:
java.io.IOException
isLazyLoading
public boolean isLazyLoading()
setLazyLoading
public void setLazyLoading(boolean lazyLoading)
markClosed
public void markClosed(org.apache.cxf.attachment.DelegatingInputStream delegatingInputStream)
throws java.io.IOException
- Throws:
java.io.IOException
hasNext
public boolean hasNext()
throws java.io.IOException
- Check for more attachment.
- Returns:
- whether there is more attachment or not. It will not deserialize the next attachment.
- Throws:
java.io.IOException
Apache CXF