Interface RequestBody.UrlEncoded<A extends Parameter.Factory>

Type Parameters:
A - The parameter factory type
Enclosing interface:
RequestBody

public static interface RequestBody.UrlEncoded<A extends Parameter.Factory>

A URL encoded data producer.

Since:
1.6
Author:
Jeremy Kuhn
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Sets request parameters in the specified function using the parameter factory to create parameters and the parameter outbound data to sets the parameters in the request body.
  • Method Details

    • from

      void from(BiConsumer<A,OutboundData<Parameter>> data)

      Sets request parameters in the specified function using the parameter factory to create parameters and the parameter outbound data to sets the parameters in the request body.

      Parameters:
      data - a function in which request parameters must be set