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