public class AttachmentDeserializer extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ATTACHMENT_DIRECTORY
|
static String |
ATTACHMENT_MAX_COUNT
The maximum number of attachments permitted in a message.
|
static String |
ATTACHMENT_MAX_HEADER_SIZE
The maximum MIME Header Length.
|
static String |
ATTACHMENT_MAX_SIZE
The maximum size of the attachment.
|
static String |
ATTACHMENT_MEMORY_THRESHOLD
The memory threshold of attachments.
|
static String |
ATTACHMENT_PART_HEADERS |
static int |
DEFAULT_MAX_HEADER_SIZE |
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
Number
or String
.
The default is THRESHOLD
.public static final String ATTACHMENT_MAX_SIZE
public static final String ATTACHMENT_MAX_COUNT
public static final String ATTACHMENT_MAX_HEADER_SIZE
public static final int DEFAULT_MAX_HEADER_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
Apache CXF