Class OServerCommandPostDatabase
java.lang.Object
com.orientechnologies.orient.server.network.protocol.http.command.OServerCommandAbstract
com.orientechnologies.orient.server.network.protocol.http.command.OServerCommandAuthenticatedServerAbstract
com.orientechnologies.orient.server.network.protocol.http.command.post.OServerCommandPostDatabase
- All Implemented Interfaces:
OServerCommand
-
Field Summary
Fields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanexecute(OHttpRequest iRequest, OHttpResponse iResponse) Executes the command requested.protected voidexportClass(ODatabaseDocument db, OJSONWriter json, OClass cls) String[]getNames()protected StringgetStoragePath(String databaseName, String iStorageMode) protected voidsendDatabaseInfo(OHttpRequest iRequest, OHttpResponse iResponse, ODatabaseDocumentInternal db) Methods 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, setNoCache
-
Constructor Details
-
OServerCommandPostDatabase
public OServerCommandPostDatabase()
-
-
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
-
getNames
-
getStoragePath
-
sendDatabaseInfo
protected void sendDatabaseInfo(OHttpRequest iRequest, OHttpResponse iResponse, ODatabaseDocumentInternal db) throws IOException - Throws:
IOException
-
exportClass
- Throws:
IOException
-