|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.axis.attachments.ManagedMemoryDataSource
This class allows small attachments to be cached in memory.
| Field Summary | |
protected java.lang.String |
contentType
Field contentType |
static int |
MAX_MEMORY_SZ
Field READ_CHUNK_SZ |
static int |
READ_CHUNK_SZ
Field READ_CHUNK_SZ |
| Constructor Summary | |
ManagedMemoryDataSource(java.io.InputStream inputStream,
java.lang.String contentType)
Create a new in memory data source |
|
| Method Summary | |
java.lang.String |
getContentType()
|
java.io.InputStream |
getInputStream()
|
java.lang.String |
getName()
|
java.io.OutputStream |
getOutputStream()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.lang.String contentType
public static final int READ_CHUNK_SZ
public static final int MAX_MEMORY_SZ
| Constructor Detail |
public ManagedMemoryDataSource(java.io.InputStream inputStream,
java.lang.String contentType)
throws java.io.IOException
inputStream - is the source input stream that is used to create this data source..contentType - the mime type for this data stream| Method Detail |
public java.lang.String getContentType()
public java.io.InputStream getInputStream()
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getName()
public java.io.OutputStream getOutputStream()
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||