open fun getEncodeHints(actualType: ResolvableType, elementType: ResolvableType, @Nullable mediaType: MediaType, request: ServerHttpRequest, response: ServerHttpResponse): MutableMap<String, Any>
Get decoding hints based on the server request or annotations on the target controller method parameter.
actualType - the actual source type to encode, possibly a reactive wrapper and sourced from org.springframework.core.MethodParameter, i.e. providing access to method annotations.
elementType - the element type within Flux/Mono that we're trying to encode.
response - the current response
Return
a Map with hints, possibly empty