| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final String | |
| private final String | |
| pack-priv static final int |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected | AbstractHttpEntity(final ContentType contentType, final String contentEncoding, final boolean chunked)
|
| protected | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public final String | getContentEncoding()
Implements org. |
| public final String | getContentType()
Implements org. |
| public Set | getTrailerNames()
Implements org. |
| public Supplier | getTrailers()
Implements org. |
| public final boolean | isChunked()
Implements org. |
| public boolean | isRepeatable()
Implements org. |
| public String | |
| public static void | |
| public void | writeTo(final OutputStream
the output stream to write entity content to outStream)Implements org. |
| chunked | back to summary |
|---|---|
| private final boolean chunked | |
| contentEncoding | back to summary |
|---|---|
| private final String contentEncoding | |
| contentType | back to summary |
|---|---|
| private final String contentType | |
| OUTPUT_BUFFER_SIZE | back to summary |
|---|---|
| pack-priv static final int OUTPUT_BUFFER_SIZE | |
| AbstractHttpEntity | back to summary |
|---|---|
| protected AbstractHttpEntity(final String contentType, final String contentEncoding, final boolean chunked) | |
| AbstractHttpEntity | back to summary |
|---|---|
| protected AbstractHttpEntity(final ContentType contentType, final String contentEncoding, final boolean chunked) | |
| AbstractHttpEntity | back to summary |
|---|---|
| protected AbstractHttpEntity(final String contentType, final String contentEncoding) | |
| AbstractHttpEntity | back to summary |
|---|---|
| protected AbstractHttpEntity(final ContentType contentType, final String contentEncoding) | |
| getContentEncoding | back to summary |
|---|---|
| public final String getContentEncoding() Implements org. Doc from org. Returns content encoding of the entity, if known.
| |
| getContentType | back to summary |
|---|---|
| public final String getContentType() Implements org. Doc from org. Returns content type of the entity, if known.
| |
| getTrailerNames | back to summary |
|---|---|
| public Set Implements org. Doc from org. Preliminary declaration of trailing headers.
| |
| getTrailers | back to summary |
|---|---|
| public Supplier Implements org. Doc from org. Returns supplier of message trailers - headers sent after message body.
May return
| |
| isChunked | back to summary |
|---|---|
| public final boolean isChunked() Implements org. Doc from org. Returns chunked transfer hint for this entity. The behavior of wrapping entities is implementation dependent, but should respect the primary purpose.
| |
| isRepeatable | back to summary |
|---|---|
| public boolean isRepeatable() Implements org. Doc from org. Tells if the entity is capable of producing its data more than once. A repeatable entity's getContent() and writeTo(OutputStream) methods can be called more than once whereas a non-repeatable entity's can not.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| writeTo | back to summary |
|---|---|
| public static void writeTo(final HttpEntity entity, final OutputStream outStream) throws IOException | |
| writeTo | back to summary |
|---|---|
| public void writeTo(final OutputStream outStream) throws IOException Implements org. Doc from org. Writes the entity content out to the output stream. Important Note Please note all entity implementations must ensure that all allocated resources are properly deallocated when this method returns.
| |