Interface HttpPart

All Known Implementing Classes:
HttpBooleanPart, HttpCsvArrayPart, HttpDatePart, HttpIntegerPart, HttpLongPart, HttpPartBean, HttpStringPart, HttpUriPart, RequestFormParam, RequestPathParam, RequestQueryParam

public interface HttpPart
A name/value pair representing a single query parameter, form field, or path variable.

Implementations may supply their value eagerly or lazily (via a Supplier). A null value signals that the part should be omitted from the request.

See Also:
Since:
9.2.1
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the part name.
    Returns the part value, or null if the part should be omitted.
  • Method Details

    • getName

      Returns the part name.
      Returns:
      The part name. Never null.
    • getValue

      Returns the part value, or null if the part should be omitted.
      Returns:
      The part value, possibly null.