public interface PerRouteConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getHostRewriteHeader()
Indicates that before DNS lookup, the host header will be swapped with
the value of this header.
|
com.google.protobuf.ByteString |
getHostRewriteHeaderBytes()
Indicates that before DNS lookup, the host header will be swapped with
the value of this header.
|
String |
getHostRewriteLiteral()
Indicates that before DNS lookup, the host header will be swapped with
this value.
|
com.google.protobuf.ByteString |
getHostRewriteLiteralBytes()
Indicates that before DNS lookup, the host header will be swapped with
this value.
|
PerRouteConfig.HostRewriteSpecifierCase |
getHostRewriteSpecifierCase() |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getHostRewriteLiteral()
Indicates that before DNS lookup, the host header will be swapped with this value. If not set or empty, the original host header value will be used and no rewrite will happen. Note: this rewrite affects both DNS lookup and host header forwarding. However, this option shouldn't be used with :ref:`HCM host rewrite <envoy_api_field_config.route.v3.RouteAction.host_rewrite_literal>` given that the value set here would be used for DNS lookups whereas the value set in the HCM would be used for host header forwarding which is not the desired outcome.
string host_rewrite_literal = 1;com.google.protobuf.ByteString getHostRewriteLiteralBytes()
Indicates that before DNS lookup, the host header will be swapped with this value. If not set or empty, the original host header value will be used and no rewrite will happen. Note: this rewrite affects both DNS lookup and host header forwarding. However, this option shouldn't be used with :ref:`HCM host rewrite <envoy_api_field_config.route.v3.RouteAction.host_rewrite_literal>` given that the value set here would be used for DNS lookups whereas the value set in the HCM would be used for host header forwarding which is not the desired outcome.
string host_rewrite_literal = 1;String getHostRewriteHeader()
Indicates that before DNS lookup, the host header will be swapped with the value of this header. If not set or empty, the original host header value will be used and no rewrite will happen. Note: this rewrite affects both DNS lookup and host header forwarding. However, this option shouldn't be used with :ref:`HCM host rewrite header <envoy_api_field_config.route.v3.RouteAction.auto_host_rewrite>` given that the value set here would be used for DNS lookups whereas the value set in the HCM would be used for host header forwarding which is not the desired outcome. .. note:: If the header appears multiple times only the first value is used.
string host_rewrite_header = 2;com.google.protobuf.ByteString getHostRewriteHeaderBytes()
Indicates that before DNS lookup, the host header will be swapped with the value of this header. If not set or empty, the original host header value will be used and no rewrite will happen. Note: this rewrite affects both DNS lookup and host header forwarding. However, this option shouldn't be used with :ref:`HCM host rewrite header <envoy_api_field_config.route.v3.RouteAction.auto_host_rewrite>` given that the value set here would be used for DNS lookups whereas the value set in the HCM would be used for host header forwarding which is not the desired outcome. .. note:: If the header appears multiple times only the first value is used.
string host_rewrite_header = 2;PerRouteConfig.HostRewriteSpecifierCase getHostRewriteSpecifierCase()
Copyright © 2018–2021 The Envoy Project. All rights reserved.