## 接口的使用
org.hyperledger.fabric.gateway.spi.QueryHandlerFactory

- 使用QueryHandlerFactory的程序包
  程序包 | 说明
  --- | ---
  org.hyperledger.fabric.gateway | This package provides the set of interfaces that enable a Java application to interact with a Fabric blockchain network.

- - ### org.hyperledger.fabric.gateway中QueryHandlerFactory的使用

    实现QueryHandlerFactory的org.hyperledger.fabric.gateway中的类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `DefaultQueryHandlers` Default query handler implementations.

    参数类型为QueryHandlerFactory的org.hyperledger.fabric.gateway中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `Gateway.Builder` | Gateway.Builder.`queryHandler(QueryHandlerFactory queryHandler)` Optional - Allows an alternative query handler to be specified.

Copyright © 2023. All rights reserved.