Class AttachmentHttpBinding.PartDataSource
- java.lang.Object
-
- org.apache.camel.component.servlet.AttachmentHttpBinding.PartDataSource
-
- All Implemented Interfaces:
DataSource
- Enclosing class:
- AttachmentHttpBinding
public final class AttachmentHttpBinding.PartDataSource extends Object implements DataSource
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getContentType()
InputStream
getInputStream()
String
getName()
OutputStream
getOutputStream()
String
getSubmittedFileName()
-
-
-
Method Detail
-
getSubmittedFileName
public String getSubmittedFileName()
-
getOutputStream
public OutputStream getOutputStream() throws IOException
- Specified by:
getOutputStream
in interfaceDataSource
- Throws:
IOException
-
getName
public String getName()
- Specified by:
getName
in interfaceDataSource
-
getInputStream
public InputStream getInputStream() throws IOException
- Specified by:
getInputStream
in interfaceDataSource
- Throws:
IOException
-
getContentType
public String getContentType()
- Specified by:
getContentType
in interfaceDataSource
-
-