| Modifier and Type | Field and Description |
|---|---|
| public static final AttachmentKey | |
| private final List | |
| private final HttpServerExchange |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: The content encoding that will be set, given the current state of the HttpServerExchange
|
| public EncodingMapping | |
| public boolean | |
| public boolean | isNoEncodingsAllowed()
If the list of allowed encodings was empty then it means that no encodings were allowed, and identity was explicitly prohibited with a q value of 0. |
| public StreamSinkConduit | wrap(final ConduitFactory<StreamSinkConduit>
the original conduit factory, final HttpServerExchange the in-flight HTTP exchange exchange)Implements io. Wrap the conduit. |
| ATTACHMENT_KEY | back to summary |
|---|---|
| public static final AttachmentKey<AllowedContentEncodings> ATTACHMENT_KEY | |
| encodings | back to summary |
|---|---|
| private final List<EncodingMapping> encodings | |
| exchange | back to summary |
|---|---|
| private final HttpServerExchange exchange | |
| AllowedContentEncodings | back to summary |
|---|---|
| public AllowedContentEncodings(final HttpServerExchange exchange, final List<EncodingMapping> encodings) | |
| getCurrentContentEncoding | back to summary |
|---|---|
public String getCurrentContentEncoding()
| |
| getEncoding | back to summary |
|---|---|
| public EncodingMapping getEncoding() | |
| isIdentity | back to summary |
|---|---|
| public boolean isIdentity() | |
| isNoEncodingsAllowed | back to summary |
|---|---|
| public boolean isNoEncodingsAllowed() If the list of allowed encodings was empty then it means that no encodings were allowed, and identity was explicitly prohibited with a q value of 0. | |
| wrap | back to summary |
|---|---|
| public StreamSinkConduit wrap(final ConduitFactory<StreamSinkConduit> factory, final HttpServerExchange exchange) Implements io. Doc from io. Wrap the conduit. The wrapper should not return
| |