Interface RequestParamsExtractor<RequestT>

Type Parameters:
RequestT - request message type

@InternalApi("For use by transport-specific implementations") public interface RequestParamsExtractor<RequestT>
A request params extractor takes a request message, extracts specific field values from it, converts them in strings and returns them as key-value pairs, where a key is a request field name and a value is a string representation of a field value. Nested fields should also be extractable, in such case the "dot notation" can be used to represent a nested field name, for example "field_name.nested_field_name".

Implementations of this interface are expected to be autogenerated.

  • Method Summary

    Modifier and Type
    Method
    Description
    extract(RequestT request)
    Extracts specific fields from the request and returns them in a form of key-value pairs, where a key is a field name and a value is a field's string representation.
  • Method Details

    • extract

      Map<String,String> extract(RequestT request)
      Extracts specific fields from the request and returns them in a form of key-value pairs, where a key is a field name and a value is a field's string representation. To represent nested field names the "dot notation" can be used.
      Parameters:
      request - request message