Use `BodyConsumer.isAssignableFrom(destHandler.getReturnType())` instead. Or better, add a method `isStreaming` to HttpMethodInfo.