Class OServerCommandDistributedScope
java.lang.Object
com.orientechnologies.orient.server.network.protocol.http.command.OServerCommandAbstract
com.orientechnologies.orient.server.network.protocol.http.command.OServerCommandAuthenticatedServerAbstract
com.orientechnologies.agent.http.command.OServerCommandDistributedAuthenticated
com.orientechnologies.agent.http.command.OServerCommandDistributedScope
- All Implemented Interfaces:
OServerCommand
- Direct Known Subclasses:
OServerCommandAuditing,OServerCommandBackupManager,OServerCommandDistributedManager,OServerCommandGetNode,OServerCommandGetSQLProfiler
Created by Enrico Risa on 16/11/15.
-
Field Summary
FieldsFields inherited from class com.orientechnologies.orient.server.network.protocol.http.command.OServerCommandAuthenticatedServerAbstract
serverPassword, serverUserFields inherited from class com.orientechnologies.orient.server.network.protocol.http.command.OServerCommandAbstract
server -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedOServerCommandDistributedScope(String iRequiredResource, OEnterpriseServer enterpriseServer) -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoDelete(OHttpRequest iRequest, OHttpResponse iResponse) protected voiddoGet(OHttpRequest iRequest, OHttpResponse iResponse) protected voiddoPost(OHttpRequest iRequest, OHttpResponse iResponse) protected voiddoPut(OHttpRequest iRequest, OHttpResponse iResponse) booleanexecute(OHttpRequest iRequest, OHttpResponse iResponse) Executes the command requested.protected ODatabaseDocumentInternalgetProfiledDatabaseInstance(OHttpRequest iRequest) Methods inherited from class com.orientechnologies.agent.http.command.OServerCommandDistributedAuthenticated
isLocalNodeMethods inherited from class com.orientechnologies.orient.server.network.protocol.http.command.OServerCommandAuthenticatedServerAbstract
authenticate, authenticate, beforeExecute, checkGuestAccess, getResource, getUser, sendAuthorizationRequest, sendNotAuthorizedResponseMethods inherited from class com.orientechnologies.orient.server.network.protocol.http.command.OServerCommandAbstract
afterExecute, checkSyntax, configure, getServer, isJsonResponse, sendJsonError, setNoCacheMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.orientechnologies.orient.server.network.protocol.http.command.OServerCommand
getNames
-
Field Details
-
enterpriseServer
-
-
Constructor Details
-
OServerCommandDistributedScope
protected OServerCommandDistributedScope(String iRequiredResource, OEnterpriseServer enterpriseServer)
-
-
Method Details
-
getProfiledDatabaseInstance
protected ODatabaseDocumentInternal getProfiledDatabaseInstance(OHttpRequest iRequest) throws InterruptedException - Throws:
InterruptedException
-
execute
Description copied from interface:OServerCommandExecutes the command requested.- Returns:
- boolean value that indicates if this command is part of a chain
- Throws:
Exception
-
doGet
- Throws:
IOException
-
doDelete
- Throws:
IOException
-
doPost
- Throws:
IOException
-
doPut
- Throws:
IOException
-