Class OServerCommandGetDatabase
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.get.OServerCommandGetConnect
com.orientechnologies.orient.server.network.protocol.http.command.get.OServerCommandGetDatabase
- All Implemented Interfaces:
OServerCommand
-
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 TypeMethodDescriptionvoidprotected voidexec(OHttpRequest iRequest, OHttpResponse iResponse, String[] urlParts) booleanexecute(OHttpRequest iRequest, OHttpResponse iResponse) Executes the command requested.static voidexportClass(ODatabaseDocument db, OJSONWriter json, OClass cls) String[]getNames()Methods inherited from class com.orientechnologies.orient.server.network.protocol.http.command.get.OServerCommandGetConnect
beforeExecuteMethods inherited from class com.orientechnologies.orient.server.network.protocol.http.command.OServerCommandAuthenticatedDbAbstract
afterExecute, authenticate, getProfiledDatabaseInstance, getProfiledDatabaseInstanceBasic, getProfiledDatabaseInstanceToken, sendAuthorizationRequestMethods inherited from class com.orientechnologies.orient.server.network.protocol.http.command.OServerCommandAbstract
checkSyntax, getServer, isJsonResponse, sendJsonError, setNoCache
-
Constructor Details
-
OServerCommandGetDatabase
public OServerCommandGetDatabase()
-
-
Method Details
-
exportClass
public static void exportClass(ODatabaseDocument db, OJSONWriter json, OClass cls) throws IOException - Throws:
IOException
-
configure
- Specified by:
configurein interfaceOServerCommand- Overrides:
configurein classOServerCommandAbstract
-
execute
Description copied from interface:OServerCommandExecutes the command requested.- Specified by:
executein interfaceOServerCommand- Overrides:
executein classOServerCommandGetConnect- Returns:
- boolean value that indicates if this command is part of a chain
- Throws:
Exception
-
getNames
- Specified by:
getNamesin interfaceOServerCommand- Overrides:
getNamesin classOServerCommandGetConnect
-
exec
protected void exec(OHttpRequest iRequest, OHttpResponse iResponse, String[] urlParts) throws InterruptedException, IOException - Throws:
InterruptedExceptionIOException
-