public interface ResponseMapperOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
DataSource |
getBody()
The new local reply body text if specified.
|
SubstitutionFormatString |
getBodyFormatOverride()
A per mapper `body_format` to override the :ref:`body_format <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.LocalReplyConfig.body_format>`.
|
SubstitutionFormatStringOrBuilder |
getBodyFormatOverrideOrBuilder()
A per mapper `body_format` to override the :ref:`body_format <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.LocalReplyConfig.body_format>`.
|
DataSourceOrBuilder |
getBodyOrBuilder()
The new local reply body text if specified.
|
AccessLogFilter |
getFilter()
Filter to determine if this mapper should apply.
|
AccessLogFilterOrBuilder |
getFilterOrBuilder()
Filter to determine if this mapper should apply.
|
HeaderValueOption |
getHeadersToAdd(int index)
HTTP headers to add to a local reply.
|
int |
getHeadersToAddCount()
HTTP headers to add to a local reply.
|
List<HeaderValueOption> |
getHeadersToAddList()
HTTP headers to add to a local reply.
|
HeaderValueOptionOrBuilder |
getHeadersToAddOrBuilder(int index)
HTTP headers to add to a local reply.
|
List<? extends HeaderValueOptionOrBuilder> |
getHeadersToAddOrBuilderList()
HTTP headers to add to a local reply.
|
com.google.protobuf.UInt32Value |
getStatusCode()
The new response status code if specified.
|
com.google.protobuf.UInt32ValueOrBuilder |
getStatusCodeOrBuilder()
The new response status code if specified.
|
boolean |
hasBody()
The new local reply body text if specified.
|
boolean |
hasBodyFormatOverride()
A per mapper `body_format` to override the :ref:`body_format <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.LocalReplyConfig.body_format>`.
|
boolean |
hasFilter()
Filter to determine if this mapper should apply.
|
boolean |
hasStatusCode()
The new response status code if specified.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasFilter()
Filter to determine if this mapper should apply.
.envoy.config.accesslog.v3.AccessLogFilter filter = 1 [(.validate.rules) = { ... }AccessLogFilter getFilter()
Filter to determine if this mapper should apply.
.envoy.config.accesslog.v3.AccessLogFilter filter = 1 [(.validate.rules) = { ... }AccessLogFilterOrBuilder getFilterOrBuilder()
Filter to determine if this mapper should apply.
.envoy.config.accesslog.v3.AccessLogFilter filter = 1 [(.validate.rules) = { ... }boolean hasStatusCode()
The new response status code if specified.
.google.protobuf.UInt32Value status_code = 2 [(.validate.rules) = { ... }com.google.protobuf.UInt32Value getStatusCode()
The new response status code if specified.
.google.protobuf.UInt32Value status_code = 2 [(.validate.rules) = { ... }com.google.protobuf.UInt32ValueOrBuilder getStatusCodeOrBuilder()
The new response status code if specified.
.google.protobuf.UInt32Value status_code = 2 [(.validate.rules) = { ... }boolean hasBody()
The new local reply body text if specified. It will be used in the `%LOCAL_REPLY_BODY%` command operator in the `body_format`.
.envoy.config.core.v3.DataSource body = 3;DataSource getBody()
The new local reply body text if specified. It will be used in the `%LOCAL_REPLY_BODY%` command operator in the `body_format`.
.envoy.config.core.v3.DataSource body = 3;DataSourceOrBuilder getBodyOrBuilder()
The new local reply body text if specified. It will be used in the `%LOCAL_REPLY_BODY%` command operator in the `body_format`.
.envoy.config.core.v3.DataSource body = 3;boolean hasBodyFormatOverride()
A per mapper `body_format` to override the :ref:`body_format <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.LocalReplyConfig.body_format>`. It will be used when this mapper is matched.
.envoy.config.core.v3.SubstitutionFormatString body_format_override = 4;SubstitutionFormatString getBodyFormatOverride()
A per mapper `body_format` to override the :ref:`body_format <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.LocalReplyConfig.body_format>`. It will be used when this mapper is matched.
.envoy.config.core.v3.SubstitutionFormatString body_format_override = 4;SubstitutionFormatStringOrBuilder getBodyFormatOverrideOrBuilder()
A per mapper `body_format` to override the :ref:`body_format <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.LocalReplyConfig.body_format>`. It will be used when this mapper is matched.
.envoy.config.core.v3.SubstitutionFormatString body_format_override = 4;List<HeaderValueOption> getHeadersToAddList()
HTTP headers to add to a local reply. This allows the response mapper to append, to add or to override headers of any local reply before it is sent to a downstream client.
repeated .envoy.config.core.v3.HeaderValueOption headers_to_add = 5 [(.validate.rules) = { ... }HeaderValueOption getHeadersToAdd(int index)
HTTP headers to add to a local reply. This allows the response mapper to append, to add or to override headers of any local reply before it is sent to a downstream client.
repeated .envoy.config.core.v3.HeaderValueOption headers_to_add = 5 [(.validate.rules) = { ... }int getHeadersToAddCount()
HTTP headers to add to a local reply. This allows the response mapper to append, to add or to override headers of any local reply before it is sent to a downstream client.
repeated .envoy.config.core.v3.HeaderValueOption headers_to_add = 5 [(.validate.rules) = { ... }List<? extends HeaderValueOptionOrBuilder> getHeadersToAddOrBuilderList()
HTTP headers to add to a local reply. This allows the response mapper to append, to add or to override headers of any local reply before it is sent to a downstream client.
repeated .envoy.config.core.v3.HeaderValueOption headers_to_add = 5 [(.validate.rules) = { ... }HeaderValueOptionOrBuilder getHeadersToAddOrBuilder(int index)
HTTP headers to add to a local reply. This allows the response mapper to append, to add or to override headers of any local reply before it is sent to a downstream client.
repeated .envoy.config.core.v3.HeaderValueOption headers_to_add = 5 [(.validate.rules) = { ... }Copyright © 2018–2021 The Envoy Project. All rights reserved.