Class ApplicationEDIEntity
- java.lang.Object
-
- org.apache.http.entity.AbstractHttpEntity
-
- org.apache.camel.component.as2.api.entity.MimeEntity
-
- org.apache.camel.component.as2.api.entity.ApplicationEDIEntity
-
- All Implemented Interfaces:
org.apache.http.HttpEntity
- Direct Known Subclasses:
ApplicationEDIConsentEntity,ApplicationEDIFACTEntity,ApplicationEDIX12Entity
public abstract class ApplicationEDIEntity extends MimeEntity
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.camel.component.as2.api.entity.MimeEntity
MimeEntity.NoCloseOutputStream
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringCONTENT_DISPOSITION_PATTERN-
Fields inherited from class org.apache.camel.component.as2.api.entity.MimeEntity
contentLength, contentTransferEncoding, isMainBody, RECALCULATE_CONTENT_LENGTH, UNKNOWN_CONTENT_LENGTH
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedApplicationEDIEntity(String ediMessage, org.apache.http.entity.ContentType contentType, String contentTransferEncoding, boolean isMainBody, String filename)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetEdiMessage()voidwriteTo(OutputStream outstream)-
Methods inherited from class org.apache.camel.component.as2.api.entity.MimeEntity
addHeader, addHeader, containsHeader, getAllHeaders, getCharset, getContent, getContentEncodingValue, getContentLength, getContentTransferEncoding, getContentTransferEncodingValue, getContentTypeValue, getFirstHeader, getHeaders, getLastHeader, headerIterator, headerIterator, isMainBody, isRepeatable, isStreaming, removeAllHeaders, removeHeader, removeHeaders, setContentEncoding, setContentTransferEncoding, setContentTransferEncoding, setContentType, setContentType, setHeader, setHeader, setHeaders, setMainBody
-
-
-
-
Field Detail
-
CONTENT_DISPOSITION_PATTERN
protected static final String CONTENT_DISPOSITION_PATTERN
- See Also:
- Constant Field Values
-
-
Method Detail
-
getEdiMessage
public String getEdiMessage()
-
writeTo
public void writeTo(OutputStream outstream) throws IOException
- Throws:
IOException
-
-