server/src/main/java/com/orientechnologies/orient/server/network/protocol/http/OHttpNetworkCommandManager.java
public void registerCommand(final OServerCommand iServerCommandInstance) {
    for (String name : iServerCommandInstance.getNames())
      if (OStringSerializerHelper.contains(name, '{')) {
        restCommands.put(name, iServerCommandInstance);
      } else if (OStringSerializerHelper.contains(name, '*'))
        wildcardCommands.put(name, iServerCommandInstance);
      else
        exactCommands.put(name, iServerCommandInstance);
    iServerCommandInstance.configure(server);
  }
public void registerCommand(final OServerCommand iServerCommandInstance) {
    for (String name : iServerCommandInstance.getNames())
      if (OStringSerializerHelper.contains(name, '{')) {
        restCommands.put(name, iServerCommandInstance);
      } else if (OStringSerializerHelper.contains(name, '*'))
        wildcardCommands.put(name, iServerCommandInstance);
      else
        exactCommands.put(name, iServerCommandInstance);
    iServerCommandInstance.configure(server);
  }
public void registerCommand ( final OServerCommand iServerCommandInstance ) { for ( String name : iServerCommandInstance . getNames ( ) ) if ( OStringSerializerHelper . contains ( name , ' ' ) ) { restCommands . put ( name , iServerCommandInstance ) ; } else if ( OStringSerializerHelper . contains ( name , ' ' ) ) wildcardCommands . put ( name , iServerCommandInstance ) ; else exactCommands . put ( name , iServerCommandInstance ) ; iServerCommandInstance . configure ( server ) ; }
Register all the names for the same instance.

@param iServerCommandInstance
Register all the names for the same instance .