public class OServerCommandPostDatabase extends OServerCommandAuthenticatedServerAbstract
serverPassword, serverUser
server
Constructor and Description |
---|
OServerCommandPostDatabase() |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(OHttpRequest iRequest,
OHttpResponse iResponse)
Executes the command requested.
|
protected void |
exportClass(ODatabaseDocument db,
OJSONWriter json,
OClass cls) |
String[] |
getNames() |
protected String |
getStoragePath(String databaseName,
String iStorageMode) |
protected void |
sendDatabaseInfo(OHttpRequest iRequest,
OHttpResponse iResponse,
ODatabaseDocumentInternal db) |
authenticate, authenticate, beforeExecute, checkGuestAccess, getResource, getUser, sendAuthorizationRequest, sendNotAuthorizedResponse
afterExecute, checkSyntax, configure, getServer, isJsonResponse, sendJsonError, setNoCache
public boolean execute(OHttpRequest iRequest, OHttpResponse iResponse) throws Exception
OServerCommand
Exception
public String[] getNames()
protected void sendDatabaseInfo(OHttpRequest iRequest, OHttpResponse iResponse, ODatabaseDocumentInternal db) throws IOException
IOException
protected void exportClass(ODatabaseDocument db, OJSONWriter json, OClass cls) throws IOException
IOException
Copyright © 2009–2020 OrientDB. All rights reserved.