Interface RequestMutator<RequestT>

Type Parameters:
RequestT - request message type
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@InternalApi("For use by transport-specific implementations") @FunctionalInterface public interface RequestMutator<RequestT>
A request mutator takes a request message, applies some Function to it, and then returns the modified request message. This is currently only used for autopopulation of the request ID.

Implementations of this interface are expected to be autogenerated.

  • Method Summary

    Modifier and Type
    Method
    Description
    apply(RequestT request)
    Applies a Function to request message
  • Method Details

    • apply

      RequestT apply(RequestT request)
      Applies a Function to request message
      Parameters:
      request - request message