{8.2.0-new} POJO Marshalling
By default, JSON support is provided for HTTP request and response bodies. Other languages can be specified using any of the following builder methods:
Clients can also support multiple languages:
When using clients with multiple language support, the request language is selected by setting the
Languages can also be specified per-request.
The {@link oajr.client2.RestClientBuilder} class provides convenience methods for setting common serializer and parser settings.
Other methods are also provided for specifying the serializers and parsers used for lower-level marshalling support:
HTTP parts (headers, query parameters, form data...) are serialized and parsed using the {@link oaj.httppart.HttpPartSerializer} and {@link oaj.httppart.HttpPartParser} APIs. By default, clients are configured to use {@link oaj.oapi.OpenApiSerializer} and {@link oaj.oapi.OpenApiParser}. These can be overridden using the following methods: