Package org.frankframework.http.mime
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 Summary
ConstructorDescriptionMessageContentBody
(Message message) MessageContentBody
(Message message, org.springframework.util.MimeType contentType) MessageContentBody
(Message message, org.springframework.util.MimeType contentType, String filename) -
Method Summary
-
Constructor Details
-
MessageContentBody
-
MessageContentBody
-
MessageContentBody
-
-
Method Details
-
getFilename
- Specified by:
getFilename
in interfaceorg.apache.http.entity.mime.content.ContentBody
-
writeTo
- Specified by:
writeTo
in interfaceorg.apache.http.entity.mime.content.ContentBody
- Throws:
IOException
-
getTransferEncoding
- Specified by:
getTransferEncoding
in interfaceorg.apache.http.entity.mime.content.ContentDescriptor
-
getContentLength
public long getContentLength()- Specified by:
getContentLength
in interfaceorg.apache.http.entity.mime.content.ContentDescriptor
-
getMimeType
- Specified by:
getMimeType
in interfaceorg.apache.http.entity.mime.content.ContentDescriptor
-
getMediaType
- Specified by:
getMediaType
in interfaceorg.apache.http.entity.mime.content.ContentDescriptor
-
getSubType
- Specified by:
getSubType
in interfaceorg.apache.http.entity.mime.content.ContentDescriptor
-
getCharset
- Specified by:
getCharset
in interfaceorg.apache.http.entity.mime.content.ContentDescriptor
-
isRepeatable
public boolean isRepeatable()
-