
public class OServerCommandPostAuthToken extends OServerCommandAbstract
server| Constructor and Description |
|---|
OServerCommandPostAuthToken() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
authenticate(java.lang.String username,
java.lang.String password,
java.lang.String iDatabaseName) |
boolean |
execute(OHttpRequest iRequest,
OHttpResponse iResponse)
Executes the command requested.
|
java.lang.String[] |
getNames() |
protected void |
sendAuthorizationRequest(OHttpRequest iRequest,
OHttpResponse iResponse,
java.lang.String iDatabaseName) |
protected void |
sendError(OHttpRequest iRequest,
OHttpResponse iResponse,
com.orientechnologies.orient.core.record.impl.ODocument error) |
afterExecute, beforeExecute, checkSyntax, configure, getServer, isJsonResponse, sendJsonError, setNoCachepublic java.lang.String[] getNames()
public boolean execute(OHttpRequest iRequest, OHttpResponse iResponse) throws java.lang.Exception
OServerCommandjava.lang.Exceptionprotected java.lang.String authenticate(java.lang.String username,
java.lang.String password,
java.lang.String iDatabaseName)
throws java.io.IOException
java.io.IOExceptionprotected void sendError(OHttpRequest iRequest, OHttpResponse iResponse, com.orientechnologies.orient.core.record.impl.ODocument error) throws java.io.IOException
java.io.IOExceptionprotected void sendAuthorizationRequest(OHttpRequest iRequest, OHttpResponse iResponse, java.lang.String iDatabaseName) throws java.io.IOException
java.io.IOExceptionCopyright © 2009–2022 OrientDB. All rights reserved.