Package dk.mada.jaxrs.model.api
Interface RequestBody
@Immutable
public interface RequestBody
Information about an operation's request body.
-
Method Summary
Modifier and TypeMethodDescriptionstatic dk.mada.jaxrs.model.api.ImmutableRequestBody.Builder
builder()
Returns a builder for this type.content()
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
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
Returns the an optional description of the request body.- Returns:
- the an optional description of the request body
-