{new} @Body
The {@link oaj.http.annotation.Body @Body} annotation can be applied to arguments of
The argument can be any of the following types:
RestClient.
Content-Type is set to that of the Serializer.
Content-Type is set to Content-Type is set to NameValuePairs - Converted to a URL-encoded FORM post.
Content-Type is set to HttpEntity - Bypass Juneau serialization and pass HttpEntity directly to HttpClient.
OpenAPI schema based serialization can be used by using the {@link oaj.oapi.OpenApiSerializer} class.
See {@doc juneau-marshall.OpenApiDetails.Serializers} for information about supported data types in OpenAPI serialization.
If your RestClient class does not have a serializer associated with it, the body will automatically be serialized to a
string using the rules defined in {@doc PojosConveribleToStrings}.