Class OServerCommandGetStaticContent
java.lang.Object
com.orientechnologies.orient.server.network.protocol.http.command.OServerCommandAbstract
com.orientechnologies.orient.server.network.protocol.http.command.get.OServerCommandConfigurableAbstract
com.orientechnologies.orient.server.network.protocol.http.command.get.OServerCommandGetStaticContent
- All Implemented Interfaces:
OServerCommand
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.orientechnologies.orient.server.network.protocol.http.command.OServerCommandAbstract
server -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbeforeExecute(OHttpRequest iRequest, OHttpResponse iResponse) Called before to execute.booleanexecute(OHttpRequest iRequest, OHttpResponse iResponse) Executes the command requested.static StringgetContentType(String path) protected StringgetResource(OHttpRequest iRequest) getVirtualFolderContent(OHttpRequest iRequest) voidregisterVirtualFolder(String iName, OCallable<Object, String> iCallback) voidunregisterVirtualFolder(String iName) Methods inherited from class com.orientechnologies.orient.server.network.protocol.http.command.get.OServerCommandConfigurableAbstract
getNamesMethods inherited from class com.orientechnologies.orient.server.network.protocol.http.command.OServerCommandAbstract
afterExecute, checkSyntax, configure, getServer, isJsonResponse, sendJsonError, setNoCache
-
Constructor Details
-
OServerCommandGetStaticContent
public OServerCommandGetStaticContent() -
OServerCommandGetStaticContent
-
-
Method Details
-
beforeExecute
Description copied from interface:OServerCommandCalled before to execute. Useful to make checks.- Specified by:
beforeExecutein interfaceOServerCommand- Overrides:
beforeExecutein classOServerCommandAbstract- Parameters:
iResponse- TODO- Throws:
IOException
-
execute
Description copied from interface:OServerCommandExecutes the command requested.- Returns:
- boolean value that indicates if this command is part of a chain
- Throws:
Exception
-
registerVirtualFolder
-
unregisterVirtualFolder
-
getResource
-
getVirtualFolderContent
protected OServerCommandGetStaticContent.OStaticContent getVirtualFolderContent(OHttpRequest iRequest) -
getContentType
-