public class ApplicationJsonTransformer extends Object implements BodyTransformer
| Constructor and Description |
|---|
ApplicationJsonTransformer() |
| Modifier and Type | Method and Description |
|---|---|
Object |
transformRequest(MediaType type,
ValidatableRequest request)
Transforms the body of a request into a format that can be validated by the
RequestValidator. |
Object |
transformResponse(MediaType type,
ValidatableResponse response)
Transforms the body of a response into a format that can be validated by the
ResponseValidator. |
public Object transformRequest(MediaType type, ValidatableRequest request)
BodyTransformerRequestValidator.transformRequest in interface BodyTransformertype - the media type of the body.request - the request with the body to transform.public Object transformResponse(MediaType type, ValidatableResponse response)
BodyTransformerResponseValidator.transformResponse in interface BodyTransformertype - the media type of the body.response - the response with the body to transform.Copyright © 2024 Eclipse. All rights reserved.