Interface RequestBody

All Known Implementing Classes:
ImmutableRequestBody

@Immutable public interface RequestBody
Information about an operation's request body.
  • Method Details

    • builder

      static ImmutableRequestBody.Builder builder()
      Returns a builder for this type.
      Returns:
      a builder for this type
    • content

      Content content()
      Returns the request body content.
      Returns:
      the request body content
    • formParameters

      List<Parameter> formParameters()
      Returns the list of form parameters.
      Returns:
      the list of form parameters
    • isMultipartForm

      boolean isMultipartForm()
      Returns true if this body is a synthetic multipart body.
      Returns:
      true if this body is a synthetic multipart body
    • description

      Optional<String> description()
      Returns the an optional description of the request body.
      Returns:
      the an optional description of the request body