Interface TrafficManagerEndpoint.UpdateStages.WithCustomHeader

    • Method Detail

      • withCustomHeader

        @Beta
        TrafficManagerEndpoint.Update withCustomHeader​(String name,
                                                       String value)
        Add a custom header.
        Parameters:
        name - the header name
        value - the header value
        Returns:
        the next stage of the update
      • withCustomHeaders

        @Beta
        TrafficManagerEndpoint.Update withCustomHeaders​(Map<String,​String> headers)
        Add custom headers. This method replaces the current headers with the provided headers.
        Parameters:
        headers - the map containing header name and value pair
        Returns:
        the next stage of the update
      • withoutCustomHeader

        @Beta
        TrafficManagerEndpoint.Update withoutCustomHeader​(String name)
        Removes a custom header.
        Parameters:
        name - the name of the header to remove
        Returns:
        the next stage of the update