
public abstract class OHttpMultipartRequestCommand<B,F> extends OServerCommandAuthenticatedDbAbstract
| Modifier and Type | Class and Description |
|---|---|
protected static class |
OHttpMultipartRequestCommand.STATUS |
DBNAME_DIR_SEPARATOR, SESSIONID_LOGOUT, SESSIONID_UNAUTHORIZEDserver| Constructor and Description |
|---|
OHttpMultipartRequestCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract java.lang.String |
getDocumentParamenterName() |
protected abstract java.lang.String |
getFileParamenterName() |
java.util.HashMap<java.lang.String,java.lang.String> |
parse(OHttpRequest iRequest,
OHttpResponse iResponse,
OHttpMultipartContentParser<B> standardContentParser,
OHttpMultipartContentParser<F> fileContentParser,
ODatabaseDocument database) |
protected void |
parseBaseContent(OHttpRequest iRequest,
OHttpMultipartContentParser<B> contentParser,
java.util.HashMap<java.lang.String,java.lang.String> headers,
OHttpMultipartContentInputStream in,
ODatabaseDocument database) |
protected void |
parseFileContent(OHttpRequest iRequest,
OHttpMultipartContentParser<F> contentParser,
java.util.HashMap<java.lang.String,java.lang.String> headers,
OHttpMultipartContentInputStream in,
ODatabaseDocument database) |
protected char |
parseHeader(OHttpRequest iRequest,
OHttpResponse iResponse,
java.util.HashMap<java.lang.String,java.lang.String> headers,
java.lang.String headerName) |
protected void |
parsePartHeaders(OHttpRequest iRequest,
OHttpResponse iResponse,
char currChar,
boolean endRequest,
java.util.HashMap<java.lang.String,java.lang.String> headers) |
protected abstract void |
processBaseContent(OHttpRequest iRequest,
B iContentResult,
java.util.HashMap<java.lang.String,java.lang.String> headers) |
protected abstract void |
processFileContent(OHttpRequest iRequest,
F iContentResult,
java.util.HashMap<java.lang.String,java.lang.String> headers) |
protected void |
readBoundary(OHttpRequest iRequest,
OHttpResponse iResponse,
char currChar) |
protected boolean |
readBoundaryCrLf(OHttpRequest iRequest,
OHttpResponse iResponse,
char currChar,
boolean endRequest) |
afterExecute, authenticate, beforeExecute, getProfiledDatabaseInstance, getProfiledDatabaseInstanceBasic, getProfiledDatabaseInstanceToken, sendAuthorizationRequestcheckSyntax, configure, getServer, isJsonResponse, sendJsonError, setNoCacheclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecute, getNamespublic java.util.HashMap<java.lang.String,java.lang.String> parse(OHttpRequest iRequest, OHttpResponse iResponse, OHttpMultipartContentParser<B> standardContentParser, OHttpMultipartContentParser<F> fileContentParser, ODatabaseDocument database) throws java.lang.Exception
java.lang.Exceptionprotected boolean readBoundaryCrLf(OHttpRequest iRequest, OHttpResponse iResponse, char currChar, boolean endRequest) throws java.io.IOException
java.io.IOExceptionprotected void readBoundary(OHttpRequest iRequest, OHttpResponse iResponse, char currChar) throws java.io.IOException
java.io.IOExceptionprotected void parsePartHeaders(OHttpRequest iRequest, OHttpResponse iResponse, char currChar, boolean endRequest, java.util.HashMap<java.lang.String,java.lang.String> headers) throws java.io.IOException
java.io.IOExceptionprotected char parseHeader(OHttpRequest iRequest, OHttpResponse iResponse, java.util.HashMap<java.lang.String,java.lang.String> headers, java.lang.String headerName) throws java.io.IOException
java.io.IOExceptionprotected void parseBaseContent(OHttpRequest iRequest, OHttpMultipartContentParser<B> contentParser, java.util.HashMap<java.lang.String,java.lang.String> headers, OHttpMultipartContentInputStream in, ODatabaseDocument database) throws java.lang.Exception
java.lang.Exceptionprotected void parseFileContent(OHttpRequest iRequest, OHttpMultipartContentParser<F> contentParser, java.util.HashMap<java.lang.String,java.lang.String> headers, OHttpMultipartContentInputStream in, ODatabaseDocument database) throws java.lang.Exception
java.lang.Exceptionprotected abstract void processBaseContent(OHttpRequest iRequest, B iContentResult, java.util.HashMap<java.lang.String,java.lang.String> headers) throws java.lang.Exception
java.lang.Exceptionprotected abstract void processFileContent(OHttpRequest iRequest, F iContentResult, java.util.HashMap<java.lang.String,java.lang.String> headers) throws java.lang.Exception
java.lang.Exceptionprotected abstract java.lang.String getFileParamenterName()
protected abstract java.lang.String getDocumentParamenterName()
Copyright © 2009–2022 OrientDB. All rights reserved.