public static interface HealthCheck.HttpHealthCheckOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
CodecClientType |
getCodecClientType()
Use specified application protocol for health checks.
|
int |
getCodecClientTypeValue()
Use specified application protocol for health checks.
|
Int64Range |
getExpectedStatuses(int index)
Specifies a list of HTTP response statuses considered healthy.
|
int |
getExpectedStatusesCount()
Specifies a list of HTTP response statuses considered healthy.
|
List<Int64Range> |
getExpectedStatusesList()
Specifies a list of HTTP response statuses considered healthy.
|
Int64RangeOrBuilder |
getExpectedStatusesOrBuilder(int index)
Specifies a list of HTTP response statuses considered healthy.
|
List<? extends Int64RangeOrBuilder> |
getExpectedStatusesOrBuilderList()
Specifies a list of HTTP response statuses considered healthy.
|
String |
getHost()
The value of the host header in the HTTP health check request.
|
com.google.protobuf.ByteString |
getHostBytes()
The value of the host header in the HTTP health check request.
|
String |
getPath()
Specifies the HTTP path that will be requested during health checking.
|
com.google.protobuf.ByteString |
getPathBytes()
Specifies the HTTP path that will be requested during health checking.
|
HealthCheck.Payload |
getReceive()
[#not-implemented-hide:] HTTP specific response.
|
HealthCheck.PayloadOrBuilder |
getReceiveOrBuilder()
[#not-implemented-hide:] HTTP specific response.
|
HeaderValueOption |
getRequestHeadersToAdd(int index)
Specifies a list of HTTP headers that should be added to each request that is sent to the
health checked cluster.
|
int |
getRequestHeadersToAddCount()
Specifies a list of HTTP headers that should be added to each request that is sent to the
health checked cluster.
|
List<HeaderValueOption> |
getRequestHeadersToAddList()
Specifies a list of HTTP headers that should be added to each request that is sent to the
health checked cluster.
|
HeaderValueOptionOrBuilder |
getRequestHeadersToAddOrBuilder(int index)
Specifies a list of HTTP headers that should be added to each request that is sent to the
health checked cluster.
|
List<? extends HeaderValueOptionOrBuilder> |
getRequestHeadersToAddOrBuilderList()
Specifies a list of HTTP headers that should be added to each request that is sent to the
health checked cluster.
|
String |
getRequestHeadersToRemove(int index)
Specifies a list of HTTP headers that should be removed from each request that is sent to the
health checked cluster.
|
com.google.protobuf.ByteString |
getRequestHeadersToRemoveBytes(int index)
Specifies a list of HTTP headers that should be removed from each request that is sent to the
health checked cluster.
|
int |
getRequestHeadersToRemoveCount()
Specifies a list of HTTP headers that should be removed from each request that is sent to the
health checked cluster.
|
List<String> |
getRequestHeadersToRemoveList()
Specifies a list of HTTP headers that should be removed from each request that is sent to the
health checked cluster.
|
HealthCheck.Payload |
getSend()
[#not-implemented-hide:] HTTP specific payload.
|
HealthCheck.PayloadOrBuilder |
getSendOrBuilder()
[#not-implemented-hide:] HTTP specific payload.
|
String |
getServiceName()
Deprecated.
|
com.google.protobuf.ByteString |
getServiceNameBytes()
Deprecated.
|
StringMatcher |
getServiceNameMatcher()
An optional service name parameter which is used to validate the identity of
the health checked cluster using a :ref:`StringMatcher
<envoy_api_msg_type.matcher.StringMatcher>`.
|
StringMatcherOrBuilder |
getServiceNameMatcherOrBuilder()
An optional service name parameter which is used to validate the identity of
the health checked cluster using a :ref:`StringMatcher
<envoy_api_msg_type.matcher.StringMatcher>`.
|
boolean |
getUseHttp2()
Deprecated.
|
boolean |
hasReceive()
[#not-implemented-hide:] HTTP specific response.
|
boolean |
hasSend()
[#not-implemented-hide:] HTTP specific payload.
|
boolean |
hasServiceNameMatcher()
An optional service name parameter which is used to validate the identity of
the health checked cluster using a :ref:`StringMatcher
<envoy_api_msg_type.matcher.StringMatcher>`.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getHost()
The value of the host header in the HTTP health check request. If left empty (default value), the name of the cluster this health check is associated with will be used. The host header can be customized for a specific endpoint by setting the :ref:`hostname <envoy_api_field_endpoint.Endpoint.HealthCheckConfig.hostname>` field.
string host = 1;com.google.protobuf.ByteString getHostBytes()
The value of the host header in the HTTP health check request. If left empty (default value), the name of the cluster this health check is associated with will be used. The host header can be customized for a specific endpoint by setting the :ref:`hostname <envoy_api_field_endpoint.Endpoint.HealthCheckConfig.hostname>` field.
string host = 1;String getPath()
Specifies the HTTP path that will be requested during health checking. For example */healthcheck*.
string path = 2 [(.validate.rules) = { ... }com.google.protobuf.ByteString getPathBytes()
Specifies the HTTP path that will be requested during health checking. For example */healthcheck*.
string path = 2 [(.validate.rules) = { ... }boolean hasSend()
[#not-implemented-hide:] HTTP specific payload.
.envoy.api.v2.core.HealthCheck.Payload send = 3;HealthCheck.Payload getSend()
[#not-implemented-hide:] HTTP specific payload.
.envoy.api.v2.core.HealthCheck.Payload send = 3;HealthCheck.PayloadOrBuilder getSendOrBuilder()
[#not-implemented-hide:] HTTP specific payload.
.envoy.api.v2.core.HealthCheck.Payload send = 3;boolean hasReceive()
[#not-implemented-hide:] HTTP specific response.
.envoy.api.v2.core.HealthCheck.Payload receive = 4;HealthCheck.Payload getReceive()
[#not-implemented-hide:] HTTP specific response.
.envoy.api.v2.core.HealthCheck.Payload receive = 4;HealthCheck.PayloadOrBuilder getReceiveOrBuilder()
[#not-implemented-hide:] HTTP specific response.
.envoy.api.v2.core.HealthCheck.Payload receive = 4;@Deprecated String getServiceName()
An optional service name parameter which is used to validate the identity of the health checked cluster. See the :ref:`architecture overview <arch_overview_health_checking_identity>` for more information. .. attention:: This field has been deprecated in favor of `service_name_matcher` for better flexibility over matching with service-cluster name.
string service_name = 5 [deprecated = true];@Deprecated com.google.protobuf.ByteString getServiceNameBytes()
An optional service name parameter which is used to validate the identity of the health checked cluster. See the :ref:`architecture overview <arch_overview_health_checking_identity>` for more information. .. attention:: This field has been deprecated in favor of `service_name_matcher` for better flexibility over matching with service-cluster name.
string service_name = 5 [deprecated = true];List<HeaderValueOption> getRequestHeadersToAddList()
Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }HeaderValueOption getRequestHeadersToAdd(int index)
Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }int getRequestHeadersToAddCount()
Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }List<? extends HeaderValueOptionOrBuilder> getRequestHeadersToAddOrBuilderList()
Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }HeaderValueOptionOrBuilder getRequestHeadersToAddOrBuilder(int index)
Specifies a list of HTTP headers that should be added to each request that is sent to the health checked cluster. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }List<String> getRequestHeadersToRemoveList()
Specifies a list of HTTP headers that should be removed from each request that is sent to the health checked cluster.
repeated string request_headers_to_remove = 8;int getRequestHeadersToRemoveCount()
Specifies a list of HTTP headers that should be removed from each request that is sent to the health checked cluster.
repeated string request_headers_to_remove = 8;String getRequestHeadersToRemove(int index)
Specifies a list of HTTP headers that should be removed from each request that is sent to the health checked cluster.
repeated string request_headers_to_remove = 8;com.google.protobuf.ByteString getRequestHeadersToRemoveBytes(int index)
Specifies a list of HTTP headers that should be removed from each request that is sent to the health checked cluster.
repeated string request_headers_to_remove = 8;@Deprecated boolean getUseHttp2()
If set, health checks will be made using http/2. Deprecated, use :ref:`codec_client_type <envoy_api_field_core.HealthCheck.HttpHealthCheck.codec_client_type>` instead.
bool use_http2 = 7 [deprecated = true, (.envoy.annotations.disallowed_by_default) = true];List<Int64Range> getExpectedStatusesList()
Specifies a list of HTTP response statuses considered healthy. If provided, replaces default 200-only policy - 200 must be included explicitly as needed. Ranges follow half-open semantics of :ref:`Int64Range <envoy_api_msg_type.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed.
repeated .envoy.type.Int64Range expected_statuses = 9;Int64Range getExpectedStatuses(int index)
Specifies a list of HTTP response statuses considered healthy. If provided, replaces default 200-only policy - 200 must be included explicitly as needed. Ranges follow half-open semantics of :ref:`Int64Range <envoy_api_msg_type.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed.
repeated .envoy.type.Int64Range expected_statuses = 9;int getExpectedStatusesCount()
Specifies a list of HTTP response statuses considered healthy. If provided, replaces default 200-only policy - 200 must be included explicitly as needed. Ranges follow half-open semantics of :ref:`Int64Range <envoy_api_msg_type.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed.
repeated .envoy.type.Int64Range expected_statuses = 9;List<? extends Int64RangeOrBuilder> getExpectedStatusesOrBuilderList()
Specifies a list of HTTP response statuses considered healthy. If provided, replaces default 200-only policy - 200 must be included explicitly as needed. Ranges follow half-open semantics of :ref:`Int64Range <envoy_api_msg_type.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed.
repeated .envoy.type.Int64Range expected_statuses = 9;Int64RangeOrBuilder getExpectedStatusesOrBuilder(int index)
Specifies a list of HTTP response statuses considered healthy. If provided, replaces default 200-only policy - 200 must be included explicitly as needed. Ranges follow half-open semantics of :ref:`Int64Range <envoy_api_msg_type.Int64Range>`. The start and end of each range are required. Only statuses in the range [100, 600) are allowed.
repeated .envoy.type.Int64Range expected_statuses = 9;int getCodecClientTypeValue()
Use specified application protocol for health checks.
.envoy.type.CodecClientType codec_client_type = 10 [(.validate.rules) = { ... }CodecClientType getCodecClientType()
Use specified application protocol for health checks.
.envoy.type.CodecClientType codec_client_type = 10 [(.validate.rules) = { ... }boolean hasServiceNameMatcher()
An optional service name parameter which is used to validate the identity of the health checked cluster using a :ref:`StringMatcher <envoy_api_msg_type.matcher.StringMatcher>`. See the :ref:`architecture overview <arch_overview_health_checking_identity>` for more information.
.envoy.type.matcher.StringMatcher service_name_matcher = 11;StringMatcher getServiceNameMatcher()
An optional service name parameter which is used to validate the identity of the health checked cluster using a :ref:`StringMatcher <envoy_api_msg_type.matcher.StringMatcher>`. See the :ref:`architecture overview <arch_overview_health_checking_identity>` for more information.
.envoy.type.matcher.StringMatcher service_name_matcher = 11;StringMatcherOrBuilder getServiceNameMatcherOrBuilder()
An optional service name parameter which is used to validate the identity of the health checked cluster using a :ref:`StringMatcher <envoy_api_msg_type.matcher.StringMatcher>`. See the :ref:`architecture overview <arch_overview_health_checking_identity>` for more information.
.envoy.type.matcher.StringMatcher service_name_matcher = 11;Copyright © 2018–2021 The Envoy Project. All rights reserved.