-
-
Notifications
You must be signed in to change notification settings - Fork 5
Request and Response mapping
Ahmad K. Bawaneh edited this page Feb 16, 2020
·
2 revisions
The (de)serialization of request and response in domino-rest from/to JSON will be automatically generated for the POJOs, if the Request body bean or the response bean is annotated with @JSONMapper
then domino-rest will use the generated mappers,if not annotated it will generate mappers for those beans.
for more about supported JSON types please checkout domino-jackson
the JSON mapping will be applied only if the MediaType is of json type.
also if the MediaType is plain text type, domino-rest will use the string representation of body and response instead of JSON.
for other MediaTypes please check the Produces and Consumes section of this wiki.
- Home
- Quick start
- Sharing clients
-
Configuration
- Locating resource classes
- Service root
- Resource root
- Http methods
- Service method path mapping
- Service path
- Query parameters
- Path parameters
- Header parameters
- Date format
- Request body
- Request and Response mapping
- Produces and Consumes
- Success codes
- Timeout and maximum retries
- With credentials
- Custom request URL
- Global interceptors
- Default failed response handler
- Interface inheritance
- Multipart form data