| Package | Description |
|---|---|
| org.apache.hc.client5.http.entity |
Client specific HTTP entity implementations.
|
| org.apache.hc.client5.http.entity.compress |
| Modifier and Type | Method and Description |
|---|---|
ContentCoding |
EntityBuilder.getCompressWith()
Returns the content-coding that
EntityBuilder.build() will apply to the
outgoing HttpEntity, or null
when no compression has been requested. |
| Modifier and Type | Method and Description |
|---|---|
EntityBuilder |
EntityBuilder.compressed(ContentCoding coding)
Requests that the entity produced by this builder be compressed
with the supplied content-coding.
|
| Modifier and Type | Method and Description |
|---|---|
static ContentCoding |
ContentCoding.fromToken(String token)
Lookup an enum by its token (caseāinsensitive), or
null if none matches. |
static ContentCoding |
ContentCoding.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContentCoding[] |
ContentCoding.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static UnaryOperator<HttpEntity> |
ContentCodecRegistry.decoder(ContentCoding coding) |
static UnaryOperator<HttpEntity> |
ContentCodecRegistry.encoder(ContentCoding coding) |
static HttpEntity |
ContentCodecRegistry.unwrap(ContentCoding c,
HttpEntity src) |
static HttpEntity |
ContentCodecRegistry.wrap(ContentCoding c,
HttpEntity src) |
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.