Interface RequestBody


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

    Modifier and Type
    Method
    Description
    static dk.mada.jaxrs.model.api.ImmutableRequestBody.Builder
    Returns a builder for this type.
    Returns the request body content.
    Returns the an optional description of the request body.
    Returns the list of form parameters.
    boolean
    Returns true if this body is a synthetic multipart body.
  • Method Details

    • builder

      static dk.mada.jaxrs.model.api.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