Interface HttpProtocolOptionsOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    HttpProtocolOptions, HttpProtocolOptions.Builder

    public interface HttpProtocolOptionsOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • hasCommonHttpProtocolOptions

        boolean hasCommonHttpProtocolOptions()
         This contains options common across HTTP/1 and HTTP/2
         
        .envoy.config.core.v3.HttpProtocolOptions common_http_protocol_options = 1;
        Returns:
        Whether the commonHttpProtocolOptions field is set.
      • getCommonHttpProtocolOptions

        HttpProtocolOptions getCommonHttpProtocolOptions()
         This contains options common across HTTP/1 and HTTP/2
         
        .envoy.config.core.v3.HttpProtocolOptions common_http_protocol_options = 1;
        Returns:
        The commonHttpProtocolOptions.
      • getCommonHttpProtocolOptionsOrBuilder

        HttpProtocolOptionsOrBuilder getCommonHttpProtocolOptionsOrBuilder()
         This contains options common across HTTP/1 and HTTP/2
         
        .envoy.config.core.v3.HttpProtocolOptions common_http_protocol_options = 1;
      • hasUpstreamHttpProtocolOptions

        boolean hasUpstreamHttpProtocolOptions()
         This contains common protocol options which are only applied upstream.
         
        .envoy.config.core.v3.UpstreamHttpProtocolOptions upstream_http_protocol_options = 2;
        Returns:
        Whether the upstreamHttpProtocolOptions field is set.
      • getUpstreamHttpProtocolOptions

        UpstreamHttpProtocolOptions getUpstreamHttpProtocolOptions()
         This contains common protocol options which are only applied upstream.
         
        .envoy.config.core.v3.UpstreamHttpProtocolOptions upstream_http_protocol_options = 2;
        Returns:
        The upstreamHttpProtocolOptions.
      • getUpstreamHttpProtocolOptionsOrBuilder

        UpstreamHttpProtocolOptionsOrBuilder getUpstreamHttpProtocolOptionsOrBuilder()
         This contains common protocol options which are only applied upstream.
         
        .envoy.config.core.v3.UpstreamHttpProtocolOptions upstream_http_protocol_options = 2;
      • hasExplicitHttpConfig

        boolean hasExplicitHttpConfig()
         To explicitly configure either HTTP/1 or HTTP/2 (but not both!) use ``explicit_http_config``.
         If the ``explicit_http_config`` is empty, HTTP/1.1 is used.
         
        .envoy.extensions.upstreams.http.v3.HttpProtocolOptions.ExplicitHttpConfig explicit_http_config = 3;
        Returns:
        Whether the explicitHttpConfig field is set.
      • getExplicitHttpConfig

        HttpProtocolOptions.ExplicitHttpConfig getExplicitHttpConfig()
         To explicitly configure either HTTP/1 or HTTP/2 (but not both!) use ``explicit_http_config``.
         If the ``explicit_http_config`` is empty, HTTP/1.1 is used.
         
        .envoy.extensions.upstreams.http.v3.HttpProtocolOptions.ExplicitHttpConfig explicit_http_config = 3;
        Returns:
        The explicitHttpConfig.
      • getExplicitHttpConfigOrBuilder

        HttpProtocolOptions.ExplicitHttpConfigOrBuilder getExplicitHttpConfigOrBuilder()
         To explicitly configure either HTTP/1 or HTTP/2 (but not both!) use ``explicit_http_config``.
         If the ``explicit_http_config`` is empty, HTTP/1.1 is used.
         
        .envoy.extensions.upstreams.http.v3.HttpProtocolOptions.ExplicitHttpConfig explicit_http_config = 3;
      • hasUseDownstreamProtocolConfig

        boolean hasUseDownstreamProtocolConfig()
         This allows switching on protocol based on what protocol the downstream
         connection used.
         
        .envoy.extensions.upstreams.http.v3.HttpProtocolOptions.UseDownstreamHttpConfig use_downstream_protocol_config = 4;
        Returns:
        Whether the useDownstreamProtocolConfig field is set.
      • getUseDownstreamProtocolConfig

        HttpProtocolOptions.UseDownstreamHttpConfig getUseDownstreamProtocolConfig()
         This allows switching on protocol based on what protocol the downstream
         connection used.
         
        .envoy.extensions.upstreams.http.v3.HttpProtocolOptions.UseDownstreamHttpConfig use_downstream_protocol_config = 4;
        Returns:
        The useDownstreamProtocolConfig.
      • getUseDownstreamProtocolConfigOrBuilder

        HttpProtocolOptions.UseDownstreamHttpConfigOrBuilder getUseDownstreamProtocolConfigOrBuilder()
         This allows switching on protocol based on what protocol the downstream
         connection used.
         
        .envoy.extensions.upstreams.http.v3.HttpProtocolOptions.UseDownstreamHttpConfig use_downstream_protocol_config = 4;
      • hasAutoConfig

        boolean hasAutoConfig()
         This allows switching on protocol based on ALPN
         
        .envoy.extensions.upstreams.http.v3.HttpProtocolOptions.AutoHttpConfig auto_config = 5;
        Returns:
        Whether the autoConfig field is set.
      • getAutoConfig

        HttpProtocolOptions.AutoHttpConfig getAutoConfig()
         This allows switching on protocol based on ALPN
         
        .envoy.extensions.upstreams.http.v3.HttpProtocolOptions.AutoHttpConfig auto_config = 5;
        Returns:
        The autoConfig.
      • getAutoConfigOrBuilder

        HttpProtocolOptions.AutoHttpConfigOrBuilder getAutoConfigOrBuilder()
         This allows switching on protocol based on ALPN
         
        .envoy.extensions.upstreams.http.v3.HttpProtocolOptions.AutoHttpConfig auto_config = 5;
      • getHttpFiltersList

        java.util.List<HttpFilter> getHttpFiltersList()
         .. warning::
           Upstream HTTP filters are not supported by default.
           This warning will be removed as support moves beyond alpha.
         Optional HTTP filters for the upstream filter chain.
         These filters will be applied for all HTTP streams which flow through this
         cluster. Unlike downstream filters, they will *not* be applied to terminated CONNECT requests.
         If using upstream filters, please be aware that local errors sent by
         upstream filters will not trigger retries, and local errors sent by
         upstream filters will count as a final response if hedging is configured.
         [#extension-category: envoy.filters.http.upstream]
         
        repeated .envoy.extensions.filters.network.http_connection_manager.v3.HttpFilter http_filters = 6;
      • getHttpFilters

        HttpFilter getHttpFilters​(int index)
         .. warning::
           Upstream HTTP filters are not supported by default.
           This warning will be removed as support moves beyond alpha.
         Optional HTTP filters for the upstream filter chain.
         These filters will be applied for all HTTP streams which flow through this
         cluster. Unlike downstream filters, they will *not* be applied to terminated CONNECT requests.
         If using upstream filters, please be aware that local errors sent by
         upstream filters will not trigger retries, and local errors sent by
         upstream filters will count as a final response if hedging is configured.
         [#extension-category: envoy.filters.http.upstream]
         
        repeated .envoy.extensions.filters.network.http_connection_manager.v3.HttpFilter http_filters = 6;
      • getHttpFiltersCount

        int getHttpFiltersCount()
         .. warning::
           Upstream HTTP filters are not supported by default.
           This warning will be removed as support moves beyond alpha.
         Optional HTTP filters for the upstream filter chain.
         These filters will be applied for all HTTP streams which flow through this
         cluster. Unlike downstream filters, they will *not* be applied to terminated CONNECT requests.
         If using upstream filters, please be aware that local errors sent by
         upstream filters will not trigger retries, and local errors sent by
         upstream filters will count as a final response if hedging is configured.
         [#extension-category: envoy.filters.http.upstream]
         
        repeated .envoy.extensions.filters.network.http_connection_manager.v3.HttpFilter http_filters = 6;
      • getHttpFiltersOrBuilderList

        java.util.List<? extends HttpFilterOrBuilder> getHttpFiltersOrBuilderList()
         .. warning::
           Upstream HTTP filters are not supported by default.
           This warning will be removed as support moves beyond alpha.
         Optional HTTP filters for the upstream filter chain.
         These filters will be applied for all HTTP streams which flow through this
         cluster. Unlike downstream filters, they will *not* be applied to terminated CONNECT requests.
         If using upstream filters, please be aware that local errors sent by
         upstream filters will not trigger retries, and local errors sent by
         upstream filters will count as a final response if hedging is configured.
         [#extension-category: envoy.filters.http.upstream]
         
        repeated .envoy.extensions.filters.network.http_connection_manager.v3.HttpFilter http_filters = 6;
      • getHttpFiltersOrBuilder

        HttpFilterOrBuilder getHttpFiltersOrBuilder​(int index)
         .. warning::
           Upstream HTTP filters are not supported by default.
           This warning will be removed as support moves beyond alpha.
         Optional HTTP filters for the upstream filter chain.
         These filters will be applied for all HTTP streams which flow through this
         cluster. Unlike downstream filters, they will *not* be applied to terminated CONNECT requests.
         If using upstream filters, please be aware that local errors sent by
         upstream filters will not trigger retries, and local errors sent by
         upstream filters will count as a final response if hedging is configured.
         [#extension-category: envoy.filters.http.upstream]
         
        repeated .envoy.extensions.filters.network.http_connection_manager.v3.HttpFilter http_filters = 6;