@Header(value="Transfer-Encoding") public final class TransferEncoding extends HeaderString
The form of encoding used to safely transfer the entity to the user. Currently defined methods are: chunked, compress, deflate, gzip, identity.
Transfer-Encoding: chunked
Transfer-Encoding = "Transfer-Encoding" ":" 1#transfer-coding
Transfer-codings are defined in section 3.6. An example is:
Transfer-Encoding: chunked
If multiple encodings have been applied to an entity, the transfer-codings MUST be listed in the order in which they were applied. Additional information about the encoding parameters MAY be provided by other entity-header fields not defined by this specification.
Many older HTTP/1.0 applications do not understand the Transfer-Encoding header.
Modifier and Type | Method and Description |
---|---|
static TransferEncoding |
forString(String value)
Returns a parsed
|
asString, eq, eqIC, toString
public static TransferEncoding forString(String value)
value
- The Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.