Interface HeaderValidatorConfigOrBuilder

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

public interface HeaderValidatorConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasHttp1ProtocolOptions

      boolean hasHttp1ProtocolOptions()
      .envoy.extensions.http.header_validators.envoy_default.v3.HeaderValidatorConfig.Http1ProtocolOptions http1_protocol_options = 1;
      Returns:
      Whether the http1ProtocolOptions field is set.
    • getHttp1ProtocolOptions

      .envoy.extensions.http.header_validators.envoy_default.v3.HeaderValidatorConfig.Http1ProtocolOptions http1_protocol_options = 1;
      Returns:
      The http1ProtocolOptions.
    • getHttp1ProtocolOptionsOrBuilder

      HeaderValidatorConfig.Http1ProtocolOptionsOrBuilder getHttp1ProtocolOptionsOrBuilder()
      .envoy.extensions.http.header_validators.envoy_default.v3.HeaderValidatorConfig.Http1ProtocolOptions http1_protocol_options = 1;
    • hasUriPathNormalizationOptions

      boolean hasUriPathNormalizationOptions()
       The URI path normalization options.
       By default Envoy normalizes URI path using the default values of the :ref:`UriPathNormalizationOptions
       <envoy_v3_api_msg_extensions.http.header_validators.envoy_default.v3.HeaderValidatorConfig.UriPathNormalizationOptions>`.
       URI path transformations specified by the ``uri_path_normalization_options`` configuration can be applied to a portion
       of requests by setting the ``envoy_default_header_validator.uri_path_transformations`` runtime value.
       Caution: disabling path normalization may lead to path confusion vulnerabilities in access control or incorrect service
       selection.
       
      .envoy.extensions.http.header_validators.envoy_default.v3.HeaderValidatorConfig.UriPathNormalizationOptions uri_path_normalization_options = 2;
      Returns:
      Whether the uriPathNormalizationOptions field is set.
    • getUriPathNormalizationOptions

      HeaderValidatorConfig.UriPathNormalizationOptions getUriPathNormalizationOptions()
       The URI path normalization options.
       By default Envoy normalizes URI path using the default values of the :ref:`UriPathNormalizationOptions
       <envoy_v3_api_msg_extensions.http.header_validators.envoy_default.v3.HeaderValidatorConfig.UriPathNormalizationOptions>`.
       URI path transformations specified by the ``uri_path_normalization_options`` configuration can be applied to a portion
       of requests by setting the ``envoy_default_header_validator.uri_path_transformations`` runtime value.
       Caution: disabling path normalization may lead to path confusion vulnerabilities in access control or incorrect service
       selection.
       
      .envoy.extensions.http.header_validators.envoy_default.v3.HeaderValidatorConfig.UriPathNormalizationOptions uri_path_normalization_options = 2;
      Returns:
      The uriPathNormalizationOptions.
    • getUriPathNormalizationOptionsOrBuilder

      HeaderValidatorConfig.UriPathNormalizationOptionsOrBuilder getUriPathNormalizationOptionsOrBuilder()
       The URI path normalization options.
       By default Envoy normalizes URI path using the default values of the :ref:`UriPathNormalizationOptions
       <envoy_v3_api_msg_extensions.http.header_validators.envoy_default.v3.HeaderValidatorConfig.UriPathNormalizationOptions>`.
       URI path transformations specified by the ``uri_path_normalization_options`` configuration can be applied to a portion
       of requests by setting the ``envoy_default_header_validator.uri_path_transformations`` runtime value.
       Caution: disabling path normalization may lead to path confusion vulnerabilities in access control or incorrect service
       selection.
       
      .envoy.extensions.http.header_validators.envoy_default.v3.HeaderValidatorConfig.UriPathNormalizationOptions uri_path_normalization_options = 2;
    • getRestrictHttpMethods

      boolean getRestrictHttpMethods()
       Restrict HTTP methods to these defined in the `RFC 7231 section 4.1 <https://datatracker.ietf.org/doc/html/rfc7231#section-4.1>`_
       Envoy will respond with 400 to requests with disallowed methods.
       By default methods with arbitrary names are accepted.
       
      bool restrict_http_methods = 3;
      Returns:
      The restrictHttpMethods.
    • getHeadersWithUnderscoresActionValue

      int getHeadersWithUnderscoresActionValue()
       Action to take when a client request with a header name containing underscore characters is received.
       If this setting is not specified, the value defaults to ALLOW.
       
      .envoy.extensions.http.header_validators.envoy_default.v3.HeaderValidatorConfig.HeadersWithUnderscoresAction headers_with_underscores_action = 4;
      Returns:
      The enum numeric value on the wire for headersWithUnderscoresAction.
    • getHeadersWithUnderscoresAction

      HeaderValidatorConfig.HeadersWithUnderscoresAction getHeadersWithUnderscoresAction()
       Action to take when a client request with a header name containing underscore characters is received.
       If this setting is not specified, the value defaults to ALLOW.
       
      .envoy.extensions.http.header_validators.envoy_default.v3.HeaderValidatorConfig.HeadersWithUnderscoresAction headers_with_underscores_action = 4;
      Returns:
      The headersWithUnderscoresAction.
    • getStripFragmentFromPath

      boolean getStripFragmentFromPath()
       Allow requests with fragment in URL path and strip the fragment before request processing.
       By default Envoy rejects requests with fragment in URL path.
       
      bool strip_fragment_from_path = 5;
      Returns:
      The stripFragmentFromPath.