Class MessageContentBody

java.lang.Object
org.frankframework.http.mime.MessageContentBody
All Implemented Interfaces:
org.apache.http.entity.mime.content.ContentBody, org.apache.http.entity.mime.content.ContentDescriptor

public class MessageContentBody extends Object implements org.apache.http.entity.mime.content.ContentBody
  • Constructor Details

    • MessageContentBody

      public MessageContentBody(Message message)
    • MessageContentBody

      public MessageContentBody(Message message, org.springframework.util.MimeType contentType)
    • MessageContentBody

      public MessageContentBody(Message message, org.springframework.util.MimeType contentType, String filename)
  • Method Details

    • getFilename

      public String getFilename()
      Specified by:
      getFilename in interface org.apache.http.entity.mime.content.ContentBody
    • writeTo

      public void writeTo(OutputStream out) throws IOException
      Specified by:
      writeTo in interface org.apache.http.entity.mime.content.ContentBody
      Throws:
      IOException
    • getTransferEncoding

      public String getTransferEncoding()
      Specified by:
      getTransferEncoding in interface org.apache.http.entity.mime.content.ContentDescriptor
    • getContentLength

      public long getContentLength()
      Specified by:
      getContentLength in interface org.apache.http.entity.mime.content.ContentDescriptor
    • getMimeType

      public String getMimeType()
      Specified by:
      getMimeType in interface org.apache.http.entity.mime.content.ContentDescriptor
    • getMediaType

      public String getMediaType()
      Specified by:
      getMediaType in interface org.apache.http.entity.mime.content.ContentDescriptor
    • getSubType

      public String getSubType()
      Specified by:
      getSubType in interface org.apache.http.entity.mime.content.ContentDescriptor
    • getCharset

      public String getCharset()
      Specified by:
      getCharset in interface org.apache.http.entity.mime.content.ContentDescriptor
    • isRepeatable

      public boolean isRepeatable()