Package org.apache.cxf.attachment
Class As4AttachmentDeserializer
- java.lang.Object
-
- org.apache.cxf.attachment.As4AttachmentDeserializer
-
public class As4AttachmentDeserializer extends Object
-
-
Constructor Summary
Constructors Constructor Description As4AttachmentDeserializer(org.apache.cxf.message.Message message)As4AttachmentDeserializer(org.apache.cxf.message.Message message, List<String> supportedTypes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddRemoved(org.apache.cxf.message.Attachment remove)booleanhasNext()Check for more attachment.voidinitializeAttachments()protected voidinitializeRootMessage()booleanisLazyLoading()voidmarkClosed(As4DelegatingInputStream delegatingInputStream)As4AttachmentImplreadNext()voidsetLazyLoading(boolean lazyLoading)
-
-
-
Method Detail
-
initializeAttachments
public void initializeAttachments() throws IOException- Throws:
IOException
-
initializeRootMessage
protected void initializeRootMessage() throws IOException- Throws:
IOException
-
readNext
public As4AttachmentImpl readNext() throws IOException
- Throws:
IOException
-
isLazyLoading
public boolean isLazyLoading()
-
setLazyLoading
public void setLazyLoading(boolean lazyLoading)
-
markClosed
public void markClosed(As4DelegatingInputStream delegatingInputStream) throws IOException
- Throws:
IOException
-
hasNext
public boolean hasNext() throws IOExceptionCheck for more attachment.- Returns:
- whether there is more attachment or not. It will not deserialize the next attachment.
- Throws:
IOException
-
addRemoved
public void addRemoved(org.apache.cxf.message.Attachment remove)
-
-