Interface CustomRequestHandling.Builder

    • Method Detail

      • insertHeaders

        CustomRequestHandling.Builder insertHeaders​(Collection<CustomHTTPHeader> insertHeaders)

        The HTTP headers to insert into the request. Duplicate header names are not allowed.

        For information about the limits on count and size for custom request and response settings, see WAF quotas in the WAF Developer Guide.

        Parameters:
        insertHeaders - The HTTP headers to insert into the request. Duplicate header names are not allowed.

        For information about the limits on count and size for custom request and response settings, see WAF quotas in the WAF Developer Guide.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • insertHeaders

        CustomRequestHandling.Builder insertHeaders​(CustomHTTPHeader... insertHeaders)

        The HTTP headers to insert into the request. Duplicate header names are not allowed.

        For information about the limits on count and size for custom request and response settings, see WAF quotas in the WAF Developer Guide.

        Parameters:
        insertHeaders - The HTTP headers to insert into the request. Duplicate header names are not allowed.

        For information about the limits on count and size for custom request and response settings, see WAF quotas in the WAF Developer Guide.

        Returns:
        Returns a reference to this object so that method calls can be chained together.