Class RequestBody
java.lang.Object
de.xima.fc.api.rest.pub.client.form.RequestBody
@Generated("de.xima.openapi.codegen.java_jaxrs.XimaJavaJaxrsGenerator")
public class RequestBody
extends Object
Base class for the body of endpoints that allow multiple different request body types. Wraps
the type of the request body and its content type.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RequestBody
-
-
Method Details
-
contentType
- Returns:
- The content type of this request body.
-
value
- Returns:
- The data of this request body.
-
create
- Parameters:
value- The data of this request body.contentType- The content type of this request body.- Returns:
- A new request body with the given data.
-