Class RequestBody

java.lang.Object
io.vertx.mutiny.openapi.contract.RequestBody
All Implemented Interfaces:
MutinyDelegate

public class RequestBody extends Object implements MutinyDelegate
This interface represents the most important attributes of an OpenAPI Operation.
Operation V3.1
Operation V3.0

NOTE: This class has been automatically generated from the original non Mutiny-ified interface using Vert.x codegen.

  • Field Details

  • Constructor Details

    • RequestBody

      public RequestBody(io.vertx.openapi.contract.RequestBody delegate)
    • RequestBody

      public RequestBody(Object delegate)
  • Method Details

    • getDelegate

      public io.vertx.openapi.contract.RequestBody getDelegate()
      Specified by:
      getDelegate in interface MutinyDelegate
      Returns:
      the delegate used by this Mutiny object of generated type
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • isRequired

      public boolean isRequired()
      Returns:
      true if the request body is required in the request, otherwise false.
    • getContent

      public Map<String,MediaType> getContent()
      Returns:
      a map containing descriptions of potential request payloads. The key is a media type or media type range and the value describes it.
    • determineContentType

      public MediaType determineContentType(String mediaTypeIdentifier)
      Parameters:
      mediaTypeIdentifier -
      Returns:
      A fitting media type, or null.
    • newInstance

      public static RequestBody newInstance(io.vertx.openapi.contract.RequestBody arg)