public class OHttpResponseImpl extends OHttpResponse
JSON_FORMAT, URL_SEPARATOR, utf8
Constructor and Description |
---|
OHttpResponseImpl(OutputStream iOutStream,
String iHttpVersion,
String[] iAdditionalHeaders,
String iResponseCharSet,
String iServerInfo,
String iSessionId,
String iCallbackFunction,
boolean iKeepAlive,
OClientConnection connection,
OContextConfiguration contextConfiguration) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkConnection() |
void |
send(int iCode,
String iReason,
String iContentType,
Object iContent,
String iHeaders) |
void |
sendStream(int iCode,
String iReason,
String iContentType,
InputStream iContent,
long iSize) |
void |
sendStream(int iCode,
String iReason,
String iContentType,
InputStream iContent,
long iSize,
String iFileName) |
void |
sendStream(int iCode,
String iReason,
String iContentType,
InputStream iContent,
long iSize,
String iFileName,
Map<String,String> additionalHeaders) |
void |
sendStream(int iCode,
String iReason,
String iContentType,
String iFileName,
OCallable<Void,OChunkedResponse> iWriter) |
void |
writeStatus(int iStatus,
String iReason) |
addHeader, compress, flush, formatMultiValue, getAdditionalHeaders, getCallbackFunction, getCharacterSet, getCode, getConnection, getContent, getContentEncoding, getContentType, getContextConfiguration, getHeaders, getHeadersMap, getHttpVersion, getOut, getOutputStream, getServerInfo, getSessionId, getStaticEncoding, isJsonErrorResponse, isKeepAlive, isSameSiteCookie, isSendStarted, isStreaming, setAdditionalHeaders, setCallbackFunction, setCharacterSet, setCode, setConnection, setContent, setContentEncoding, setContentType, setHeader, setHeaders, setJsonErrorResponse, setKeepAlive, setSameSiteCookie, setSendStarted, setServerInfo, setSessionId, setStaticEncoding, setStreaming, writeContent, writeHeaders, writeHeaders, writeLine, writeRecord, writeRecord, writeRecords, writeRecords, writeRecords, writeRecords, writeRecords, writeResult, writeResult, writeResult, writeResult
public OHttpResponseImpl(OutputStream iOutStream, String iHttpVersion, String[] iAdditionalHeaders, String iResponseCharSet, String iServerInfo, String iSessionId, String iCallbackFunction, boolean iKeepAlive, OClientConnection connection, OContextConfiguration contextConfiguration)
public void send(int iCode, String iReason, String iContentType, Object iContent, String iHeaders) throws IOException
send
in class OHttpResponse
IOException
public void writeStatus(int iStatus, String iReason) throws IOException
writeStatus
in class OHttpResponse
IOException
public void sendStream(int iCode, String iReason, String iContentType, InputStream iContent, long iSize) throws IOException
sendStream
in class OHttpResponse
IOException
public void sendStream(int iCode, String iReason, String iContentType, InputStream iContent, long iSize, String iFileName) throws IOException
sendStream
in class OHttpResponse
IOException
public void sendStream(int iCode, String iReason, String iContentType, InputStream iContent, long iSize, String iFileName, Map<String,String> additionalHeaders) throws IOException
sendStream
in class OHttpResponse
IOException
public void sendStream(int iCode, String iReason, String iContentType, String iFileName, OCallable<Void,OChunkedResponse> iWriter) throws IOException
sendStream
in class OHttpResponse
IOException
protected void checkConnection() throws IOException
checkConnection
in class OHttpResponse
IOException
Copyright © 2009–2020 OrientDB. All rights reserved.