| com.sun.xml.ws.developer.StreamingAttachment
StreamingAttachment | public @interface StreamingAttachment(Code) | | This feature represents the use of StreamingAttachment attachments with a
web service.
for e.g.: To keep all MIME attachments in memory, do the following
See Also: StreamingAttachmentFeature author: Jitendra Kotamraju |
Field Summary | |
String | dir Directory in which large attachments are stored. | long | memoryThreshold After this threshold(no of bytes per attachment), large attachment is
written to file system. | boolean | parseEagerly MIME message is parsed eagerly. |
dir | String dir(Code) | | Directory in which large attachments are stored.
File.createTempFile methods are used to create temp files for storing attachments. This
value is used in
File.createTempFile , if specified. If a file
cannot be created in this dir, then all the content is kept in memory.
|
memoryThreshold | long memoryThreshold(Code) | | After this threshold(no of bytes per attachment), large attachment is
written to file system.
If the value is -1, then all the attachment content is kept in memory.
|
parseEagerly | boolean parseEagerly(Code) | | MIME message is parsed eagerly.
|
|
|