Package org.apache.cxf.attachment
Class AttachmentDataSource
java.lang.Object
org.apache.cxf.attachment.AttachmentDataSource
- All Implemented Interfaces:
javax.activation.DataSource
-
Constructor Details
-
AttachmentDataSource
-
-
Method Details
-
isCached
public boolean isCached() -
cache
- Throws:
IOException
-
hold
- Throws:
IOException
-
release
public void release() -
getContentType
- Specified by:
getContentType
in interfacejavax.activation.DataSource
-
getInputStream
- Specified by:
getInputStream
in interfacejavax.activation.DataSource
-
getName
- Specified by:
getName
in interfacejavax.activation.DataSource
-
setName
-
getOutputStream
- Specified by:
getOutputStream
in interfacejavax.activation.DataSource
- Throws:
IOException
-