public void setUpGetConfigHandlers() {
        // The getConfig method in this class will handle RPC calls for getting config
        getSupervisor().addMethod(JRTMethods.createConfigV3GetConfigMethod(this::getConfigV3)
                                          .requireCapabilities(Capability.CONFIGSERVER__CONFIG_API));
        isServingConfigRequests = true;
    }
Set up RPC method handlers for getting config
configserver/src/main/java/com/yahoo/vespa/config/server/rpc/RpcServer.java