|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.apache.axis.attachments.ManagedMemoryDataSource
|
+--uk.org.ogsadai.client.toolkit.soap.AttachmentManager.MemoryOnlyDataSource
This class caches attachments in memory. TODO: Should investigate using plain ManagedMemoryDataSource that caches out large attachments to disk.
| Field Summary | |
private static java.lang.String |
COPYRIGHT_NOTICE
Copyright statement |
| Fields inherited from class org.apache.axis.attachments.ManagedMemoryDataSource |
cachediskstream, closed, contentType, currentMemoryBuf, currentMemoryBufSz, debugEnabled, deleted, diskCacheFile, is_log, log, MAX_MEMORY_DISK_CACHED, maxCached, memorybuflist, MIN_MEMORY_DISK_CACHED, READ_CHUNK_SZ, readers, totalsz |
| Constructor Summary | |
(package private) |
AttachmentManager.MemoryOnlyDataSource(byte[] in,
java.lang.String contentType)
Creates DataSource from byte array. |
| Methods inherited from class org.apache.axis.attachments.ManagedMemoryDataSource |
close, delete, finalize, flushToDisk, getContentType, getDiskCacheFile, getInputStream, getName, getOutputStream, main, write, write |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private static final java.lang.String COPYRIGHT_NOTICE
| Constructor Detail |
AttachmentManager.MemoryOnlyDataSource(byte[] in,
java.lang.String contentType)
throws java.io.IOException
in - Byte array of data to be stored.contentType - MIME content type.
java.io.IOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||