接口 HandlerMethodArgumentResolver

    • 方法详细资料

      • supportsParameter

        boolean supportsParameter​(MethodParameter parameter)
        Whether this resolver supports the given method parameter.
        参数:
        parameter - the method parameter
      • resolveArgument

        reactor.core.publisher.Mono<ObjectresolveArgument​(MethodParameter parameter,
                                                            BindingContext bindingContext,
                                                            ServerWebExchange exchange)
        Resolve the value for the method parameter.
        参数:
        parameter - the method parameter
        bindingContext - the binding context to use
        exchange - the current exchange
        返回:
        Mono for the argument value, possibly empty