
public class OServerCommandGetStaticContent extends OServerCommandConfigurableAbstract
| Modifier and Type | Class and Description |
|---|---|
static class |
OServerCommandGetStaticContent.OStaticContent |
server| Constructor and Description |
|---|
OServerCommandGetStaticContent() |
OServerCommandGetStaticContent(OServerCommandConfiguration iConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
beforeExecute(OHttpRequest iRequest,
OHttpResponse iResponse)
Called before to execute.
|
boolean |
execute(OHttpRequest iRequest,
OHttpResponse iResponse)
Executes the command requested.
|
static java.lang.String |
getContentType(java.lang.String path) |
protected java.lang.String |
getResource(OHttpRequest iRequest) |
protected OServerCommandGetStaticContent.OStaticContent |
getVirtualFolderContent(OHttpRequest iRequest) |
void |
registerVirtualFolder(java.lang.String iName,
com.orientechnologies.common.util.OCallable<java.lang.Object,java.lang.String> iCallback) |
void |
unregisterVirtualFolder(java.lang.String iName) |
getNamesafterExecute, checkSyntax, configure, getServer, isJsonResponse, sendJsonError, setNoCachepublic OServerCommandGetStaticContent()
public OServerCommandGetStaticContent(OServerCommandConfiguration iConfiguration)
public boolean beforeExecute(OHttpRequest iRequest, OHttpResponse iResponse) throws java.io.IOException
OServerCommandbeforeExecute in interface OServerCommandbeforeExecute in class OServerCommandAbstractiResponse - TODOjava.io.IOExceptionpublic boolean execute(OHttpRequest iRequest, OHttpResponse iResponse) throws java.lang.Exception
OServerCommandjava.lang.Exceptionpublic void registerVirtualFolder(java.lang.String iName,
com.orientechnologies.common.util.OCallable<java.lang.Object,java.lang.String> iCallback)
public void unregisterVirtualFolder(java.lang.String iName)
protected java.lang.String getResource(OHttpRequest iRequest)
protected OServerCommandGetStaticContent.OStaticContent getVirtualFolderContent(OHttpRequest iRequest)
public static java.lang.String getContentType(java.lang.String path)
Copyright © 2009–2022 OrientDB. All rights reserved.