public interface BodyTransformer
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 . |
Object transformRequest(MediaType type, ValidatableRequest request)
RequestValidator
.type
- the media type of the body.request
- the request with the body to transform.Object transformResponse(MediaType type, ValidatableResponse response)
ResponseValidator
.type
- the media type of the body.response
- the response with the body to transform.Copyright © 2024 Eclipse. All rights reserved.