public class OServerCommandGetDatabase extends OServerCommandGetConnect
DBNAME_DIR_SEPARATOR, SESSIONID_LOGOUT, SESSIONID_UNAUTHORIZED
server
Constructor and Description |
---|
OServerCommandGetDatabase() |
Modifier and Type | Method and Description |
---|---|
void |
configure(OServer server) |
protected void |
exec(OHttpRequest iRequest,
OHttpResponse iResponse,
String[] urlParts) |
boolean |
execute(OHttpRequest iRequest,
OHttpResponse iResponse)
Executes the command requested.
|
static void |
exportClass(ODatabaseDocument db,
OJSONWriter json,
OClass cls) |
String[] |
getNames() |
beforeExecute
afterExecute, authenticate, getProfiledDatabaseInstance, getProfiledDatabaseInstanceBasic, getProfiledDatabaseInstanceToken, sendAuthorizationRequest
checkSyntax, getServer, isJsonResponse, sendJsonError, setNoCache
public static void exportClass(ODatabaseDocument db, OJSONWriter json, OClass cls) throws IOException
IOException
public void configure(OServer server)
configure
in interface OServerCommand
configure
in class OServerCommandAbstract
public boolean execute(OHttpRequest iRequest, OHttpResponse iResponse) throws Exception
OServerCommand
execute
in interface OServerCommand
execute
in class OServerCommandGetConnect
Exception
public String[] getNames()
getNames
in interface OServerCommand
getNames
in class OServerCommandGetConnect
protected void exec(OHttpRequest iRequest, OHttpResponse iResponse, String[] urlParts) throws InterruptedException, IOException
InterruptedException
IOException
Copyright © 2009–2020 OrientDB. All rights reserved.