Class OServerCommandAbstractLogic
java.lang.Object
com.orientechnologies.orient.server.network.protocol.http.command.OServerCommandAbstract
com.orientechnologies.orient.server.network.protocol.http.command.OServerCommandAuthenticatedDbAbstract
com.orientechnologies.orient.server.network.protocol.http.command.all.OServerCommandAbstractLogic
- All Implemented Interfaces:
OServerCommand
- Direct Known Subclasses:
OServerCommandFunction
-
Field Summary
Fields inherited from class com.orientechnologies.orient.server.network.protocol.http.command.OServerCommandAuthenticatedDbAbstract
DBNAME_DIR_SEPARATOR, SESSIONID_LOGOUT, SESSIONID_UNAUTHORIZEDFields inherited from class com.orientechnologies.orient.server.network.protocol.http.command.OServerCommandAbstract
server -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanexecute(OHttpRequest iRequest, OHttpResponse iResponse) Executes the command requested.protected abstract voidhandleResult(OHttpRequest iRequest, OHttpResponse iResponse, Object iResult) protected abstract String[]init(OHttpRequest iRequest, OHttpResponse iResponse) Methods inherited from class com.orientechnologies.orient.server.network.protocol.http.command.OServerCommandAuthenticatedDbAbstract
afterExecute, authenticate, beforeExecute, getProfiledDatabaseInstance, getProfiledDatabaseInstanceBasic, getProfiledDatabaseInstanceToken, sendAuthorizationRequestMethods inherited from class com.orientechnologies.orient.server.network.protocol.http.command.OServerCommandAbstract
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
-
Constructor Details
-
OServerCommandAbstractLogic
public OServerCommandAbstractLogic()
-
-
Method Details
-
execute
Description copied from interface:OServerCommandExecutes the command requested.- Returns:
- boolean value that indicates if this command is part of a chain
- Throws:
Exception
-
init
-
handleResult
protected abstract void handleResult(OHttpRequest iRequest, OHttpResponse iResponse, Object iResult) throws InterruptedException, IOException - Throws:
InterruptedExceptionIOException
-