| Package | Description |
|---|---|
| io.envoyproxy.envoy.config.filter.http.compressor.v2 | |
| io.envoyproxy.envoy.config.filter.http.gzip.v2 |
| Modifier and Type | Method and Description |
|---|---|
Compressor.Builder |
Compressor.Builder.addAllContentType(Iterable<String> values)
Set of strings that allows specifying which mime-types yield compression; e.g.,
application/json, text/html, etc.
|
Compressor.Builder |
Compressor.Builder.addContentType(String value)
Set of strings that allows specifying which mime-types yield compression; e.g.,
application/json, text/html, etc.
|
Compressor.Builder |
Compressor.Builder.addContentTypeBytes(com.google.protobuf.ByteString value)
Set of strings that allows specifying which mime-types yield compression; e.g.,
application/json, text/html, etc.
|
Compressor.Builder |
Compressor.Builder.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Compressor.Builder |
Compressor.Builder.clear() |
Compressor.Builder |
Compressor.Builder.clearContentLength()
Minimum response length, in bytes, which will trigger compression.
|
Compressor.Builder |
Compressor.Builder.clearContentType()
Set of strings that allows specifying which mime-types yield compression; e.g.,
application/json, text/html, etc.
|
Compressor.Builder |
Compressor.Builder.clearDisableOnEtagHeader()
If true, disables compression when the response contains an etag header.
|
Compressor.Builder |
Compressor.Builder.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Compressor.Builder |
Compressor.Builder.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Compressor.Builder |
Compressor.Builder.clearRemoveAcceptEncodingHeader()
If true, removes accept-encoding from the request headers before dispatching it to the upstream
so that responses do not get compressed before reaching the filter.
.. attention:
To avoid interfering with other compression filters in the same chain use this option in
the filter closest to the upstream.
|
Compressor.Builder |
Compressor.Builder.clearRuntimeEnabled()
Runtime flag that controls whether the filter is enabled or not.
|
Compressor.Builder |
Compressor.Builder.clone() |
Compressor.Builder |
Compressor.Builder.mergeContentLength(com.google.protobuf.UInt32Value value)
Minimum response length, in bytes, which will trigger compression.
|
Compressor.Builder |
Compressor.Builder.mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Compressor.Builder |
Compressor.Builder.mergeFrom(Compressor other) |
Compressor.Builder |
Compressor.Builder.mergeFrom(com.google.protobuf.Message other) |
Compressor.Builder |
Compressor.Builder.mergeRuntimeEnabled(RuntimeFeatureFlag value)
Runtime flag that controls whether the filter is enabled or not.
|
Compressor.Builder |
Compressor.Builder.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
static Compressor.Builder |
Compressor.newBuilder() |
static Compressor.Builder |
Compressor.newBuilder(Compressor prototype) |
Compressor.Builder |
Compressor.newBuilderForType() |
protected Compressor.Builder |
Compressor.newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
Compressor.Builder |
Compressor.Builder.setContentLength(com.google.protobuf.UInt32Value.Builder builderForValue)
Minimum response length, in bytes, which will trigger compression.
|
Compressor.Builder |
Compressor.Builder.setContentLength(com.google.protobuf.UInt32Value value)
Minimum response length, in bytes, which will trigger compression.
|
Compressor.Builder |
Compressor.Builder.setContentType(int index,
String value)
Set of strings that allows specifying which mime-types yield compression; e.g.,
application/json, text/html, etc.
|
Compressor.Builder |
Compressor.Builder.setDisableOnEtagHeader(boolean value)
If true, disables compression when the response contains an etag header.
|
Compressor.Builder |
Compressor.Builder.setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Compressor.Builder |
Compressor.Builder.setRemoveAcceptEncodingHeader(boolean value)
If true, removes accept-encoding from the request headers before dispatching it to the upstream
so that responses do not get compressed before reaching the filter.
.. attention:
To avoid interfering with other compression filters in the same chain use this option in
the filter closest to the upstream.
|
Compressor.Builder |
Compressor.Builder.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Compressor.Builder |
Compressor.Builder.setRuntimeEnabled(RuntimeFeatureFlag.Builder builderForValue)
Runtime flag that controls whether the filter is enabled or not.
|
Compressor.Builder |
Compressor.Builder.setRuntimeEnabled(RuntimeFeatureFlag value)
Runtime flag that controls whether the filter is enabled or not.
|
Compressor.Builder |
Compressor.Builder.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Compressor.Builder |
Compressor.toBuilder() |
| Modifier and Type | Method and Description |
|---|---|
Compressor.Builder |
Gzip.Builder.getCompressorBuilder()
Set of configuration parameters common for all compression filters.
|
| Modifier and Type | Method and Description |
|---|---|
Gzip.Builder |
Gzip.Builder.setCompressor(Compressor.Builder builderForValue)
Set of configuration parameters common for all compression filters.
|
Copyright © 2018–2021 The Envoy Project. All rights reserved.