public class AttachmentDeserializer extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ATTACHMENT_DIRECTORY |
static String |
ATTACHMENT_MAX_SIZE |
static String |
ATTACHMENT_MEMORY_THRESHOLD |
static String |
ATTACHMENT_PART_HEADERS |
static int |
THRESHOLD |
Constructor and Description |
---|
AttachmentDeserializer(Message message) |
AttachmentDeserializer(Message message,
List<String> supportedTypes) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Check for more attachment.
|
void |
initializeAttachments() |
protected void |
initializeRootMessage() |
boolean |
isLazyLoading() |
void |
markClosed(DelegatingInputStream delegatingInputStream) |
AttachmentImpl |
readNext() |
void |
setLazyLoading(boolean lazyLoading) |
public static final String ATTACHMENT_PART_HEADERS
public static final String ATTACHMENT_DIRECTORY
public static final String ATTACHMENT_MEMORY_THRESHOLD
public static final String ATTACHMENT_MAX_SIZE
public static final int THRESHOLD
public AttachmentDeserializer(Message message)
public void initializeAttachments() throws IOException
IOException
protected void initializeRootMessage() throws IOException
IOException
public AttachmentImpl readNext() throws IOException
IOException
public boolean isLazyLoading()
public void setLazyLoading(boolean lazyLoading)
public void markClosed(DelegatingInputStream delegatingInputStream) throws IOException
IOException
public boolean hasNext() throws IOException
IOException
Copyright © 2017 JBoss by Red Hat. All rights reserved.