Encoder exposing extra methods relevant in the context
of HTTP request or response body encoding.
| Modifier and Type | Method and Description |
|---|---|
| public default Map | Returns: a Map with hints, possibly emptythe actual source type to encode, possibly a reactive
wrapper and sourced from actualType, ResolvableType org.,
i.e. providing access to method annotations.the element type within elementType, MediaType mediaType, ServerHttpRequest Flux/Mono that we're
trying to encode.the current request request, ServerHttpResponse the current response response)Get decoding hints based on the server request or annotations on the target controller method parameter. |
| public List | getStreamingMediaTypes()
Return "streaming" media types for which flushing should be performed automatically vs at the end of the input stream. |
| getEncodeHints | back to summary |
|---|---|
| public default Map Get decoding hints based on the server request or annotations on the target controller method parameter.
| |
| getStreamingMediaTypes | back to summary |
|---|---|
| public List Return "streaming" media types for which flushing should be performed automatically vs at the end of the input stream. | |