Class AttachmentHttpBinding.PartDataSource

java.lang.Object
org.apache.camel.component.servlet.AttachmentHttpBinding.PartDataSource
All Implemented Interfaces:
jakarta.activation.DataSource
Enclosing class:
AttachmentHttpBinding

public final class AttachmentHttpBinding.PartDataSource extends Object implements jakarta.activation.DataSource
  • Method Details

    • getSubmittedFileName

      public String getSubmittedFileName()
    • getOutputStream

      public OutputStream getOutputStream() throws IOException
      Specified by:
      getOutputStream in interface jakarta.activation.DataSource
      Throws:
      IOException
    • getName

      public String getName()
      Specified by:
      getName in interface jakarta.activation.DataSource
    • getInputStream

      public InputStream getInputStream() throws IOException
      Specified by:
      getInputStream in interface jakarta.activation.DataSource
      Throws:
      IOException
    • getContentType

      public String getContentType()
      Specified by:
      getContentType in interface jakarta.activation.DataSource