接口 HttpMessageDecoder<T>

    • 方法详细资料

      • getDecodeHints

        Map<String,​ObjectgetDecodeHints​(ResolvableType actualType,
                                                ResolvableType elementType,
                                                ServerHttpRequest request,
                                                ServerHttpResponse response)
        Get decoding hints based on the server request or annotations on the target controller method parameter.
        参数:
        actualType - the actual target type to decode to, possibly a reactive wrapper and sourced from MethodParameter, i.e. providing access to method parameter annotations
        elementType - the element type within Flux/Mono that we're trying to decode to
        request - the current request
        response - the current response
        返回:
        a Map with hints, possibly empty