public class OServerCommandGetFileDownload extends OServerCommandAuthenticatedDbAbstract
DBNAME_DIR_SEPARATOR, SESSIONID_LOGOUT, SESSIONID_UNAUTHORIZED
server
Constructor and Description |
---|
OServerCommandGetFileDownload() |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(OHttpRequest iRequest,
OHttpResponse iResponse)
Executes the command requested.
|
String[] |
getNames() |
protected void |
sendBinaryFieldFileContent(OHttpRequest iRequest,
OHttpResponse iResponse,
int iCode,
String iReason,
String iContentType,
byte[] record,
String iFileName) |
protected void |
sendORecordBinaryFileContent(OHttpRequest iRequest,
OHttpResponse iResponse,
int iCode,
String iReason,
String iContentType,
OBlob record,
String iFileName) |
afterExecute, authenticate, beforeExecute, getProfiledDatabaseInstance, getProfiledDatabaseInstanceBasic, getProfiledDatabaseInstanceToken, sendAuthorizationRequest
checkSyntax, configure, getServer, isJsonResponse, sendJsonError, setNoCache
public boolean execute(OHttpRequest iRequest, OHttpResponse iResponse) throws Exception
OServerCommand
Exception
protected void sendORecordBinaryFileContent(OHttpRequest iRequest, OHttpResponse iResponse, int iCode, String iReason, String iContentType, OBlob record, String iFileName) throws IOException
IOException
protected void sendBinaryFieldFileContent(OHttpRequest iRequest, OHttpResponse iResponse, int iCode, String iReason, String iContentType, byte[] record, String iFileName) throws IOException
IOException
public String[] getNames()
Copyright © 2009–2020 OrientDB. All rights reserved.