Class ApplicationPkcs7MimeCompressedDataEntity
java.lang.Object
org.apache.hc.core5.http.io.entity.AbstractHttpEntity
org.apache.camel.component.as2.api.entity.MimeEntity
org.apache.camel.component.as2.api.entity.ApplicationPkcs7MimeCompressedDataEntity
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.hc.core5.http.EntityDetails,org.apache.hc.core5.http.HttpEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.camel.component.as2.api.entity.MimeEntity
MimeEntity.NoCloseOutputStream -
Field Summary
Fields inherited from class org.apache.camel.component.as2.api.entity.MimeEntity
contentLength, isMainBody, RECALCULATE_CONTENT_LENGTH, UNKNOWN_CONTENT_LENGTH -
Constructor Summary
ConstructorsConstructorDescriptionApplicationPkcs7MimeCompressedDataEntity(byte[] compressedData, String compressedContentTransferEncoding, boolean isMainBody) ApplicationPkcs7MimeCompressedDataEntity(MimeEntity entity2Encrypt, org.bouncycastle.cms.CMSCompressedDataGenerator dataGenerator, org.bouncycastle.operator.OutputCompressor compressor, String compressedContentTransferEncoding, boolean isMainBody) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()getCompressedEntity(org.bouncycastle.operator.InputExpanderProvider expanderProvider) voidwriteTo(OutputStream outstream) Methods inherited from class org.apache.camel.component.as2.api.entity.MimeEntity
addHeader, addHeader, containsHeader, getAllHeaders, getCharset, getContent, getContentLength, getContentTransferEncoding, getContentTransferEncodingValue, getFirstHeader, getHeaders, getLastHeader, isMainBody, isRepeatable, isStreaming, removeAllHeaders, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setMainBodyMethods inherited from class org.apache.hc.core5.http.io.entity.AbstractHttpEntity
getContentEncoding, getContentType, getTrailerNames, getTrailers, isChunked, toString, writeTo
-
Constructor Details
-
ApplicationPkcs7MimeCompressedDataEntity
public ApplicationPkcs7MimeCompressedDataEntity(MimeEntity entity2Encrypt, org.bouncycastle.cms.CMSCompressedDataGenerator dataGenerator, org.bouncycastle.operator.OutputCompressor compressor, String compressedContentTransferEncoding, boolean isMainBody) throws org.apache.hc.core5.http.HttpException - Throws:
org.apache.hc.core5.http.HttpException
-
ApplicationPkcs7MimeCompressedDataEntity
public ApplicationPkcs7MimeCompressedDataEntity(byte[] compressedData, String compressedContentTransferEncoding, boolean isMainBody)
-
-
Method Details
-
writeTo
- Specified by:
writeToin interfaceorg.apache.hc.core5.http.HttpEntity- Overrides:
writeToin classorg.apache.hc.core5.http.io.entity.AbstractHttpEntity- Throws:
IOException
-
getCompressedEntity
public MimeEntity getCompressedEntity(org.bouncycastle.operator.InputExpanderProvider expanderProvider) throws org.apache.hc.core5.http.HttpException - Throws:
org.apache.hc.core5.http.HttpException
-
close
- Throws:
IOException
-