Class TextPlainEntity
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.TextPlainEntity
- 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
ConstructorsConstructorDescriptionTextPlainEntity(String content, String charset, String contentTransferEncoding, boolean isMainBody) -
Method Summary
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
-
TextPlainEntity
-
-
Method Details
-
getText
-
writeTo
- Specified by:
writeToin interfaceorg.apache.hc.core5.http.HttpEntity- Overrides:
writeToin classorg.apache.hc.core5.http.io.entity.AbstractHttpEntity- Throws:
IOException
-
close
- Throws:
IOException
-