
public abstract class OServerCommandAbstract extends Object implements OServerCommand
| Constructor and Description |
|---|
OServerCommandAbstract()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
afterExecute(OHttpRequest iRequest,
OHttpResponse iResponse)
Called after to execute.
|
boolean |
beforeExecute(OHttpRequest iRequest,
OHttpResponse iResponse)
Called before to execute.
|
protected String[] |
checkSyntax(String iURL,
int iArgumentCount,
String iSyntax) |
void |
configure(OServer server) |
OServer |
getServer() |
protected boolean |
isJsonResponse(OHttpResponse response) |
protected void |
sendJsonError(OHttpResponse iResponse,
int iCode,
String iReason,
String iContentType,
Object iContent,
String iHeaders) |
protected void |
setNoCache(OHttpResponse iResponse) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecute, getNamesprotected OServer server
public OServerCommandAbstract()
public boolean beforeExecute(OHttpRequest iRequest, OHttpResponse iResponse) throws IOException
OServerCommandbeforeExecute in interface OServerCommandiResponse - TODOIOExceptionpublic boolean afterExecute(OHttpRequest iRequest, OHttpResponse iResponse) throws IOException
OServerCommandafterExecute in interface OServerCommandiResponse - TODOIOExceptionpublic OServer getServer()
public void configure(OServer server)
configure in interface OServerCommandprotected void setNoCache(OHttpResponse iResponse)
protected boolean isJsonResponse(OHttpResponse response)
protected void sendJsonError(OHttpResponse iResponse, int iCode, String iReason, String iContentType, Object iContent, String iHeaders) throws IOException
IOExceptionCopyright © 2009–2025 OrientDB. All rights reserved.