Package | Description |
---|---|
com.orientechnologies.orient.server.network.protocol.http |
Modifier and Type | Method and Description |
---|---|
OHttpResponseWrapper |
OHttpResponseWrapper.flush()
Flushes the content to the TCP/IP socket.
|
OHttpResponseWrapper |
OHttpResponseWrapper.send(int iCode,
String iReason,
String iContentType,
Object iContent)
Sends the complete HTTP response in one call.
|
OHttpResponseWrapper |
OHttpResponseWrapper.send(int iCode,
String iReason,
String iContentType,
Object iContent,
String iHeaders)
Sends the complete HTTP response in one call specifying additional headers.
|
OHttpResponseWrapper |
OHttpResponseWrapper.sendStream(int iCode,
String iReason,
String iContentType,
InputStream iContent,
long iSize)
Sends the complete HTTP response in one call specifying a stream as content.
|
OHttpResponseWrapper |
OHttpResponseWrapper.sendStream(int iCode,
String iReason,
String iContentType,
InputStream iContent,
long iSize,
String iFileName)
Sends the complete HTTP response in one call specifying a stream as content.
|
OHttpResponseWrapper |
OHttpResponseWrapper.setCharacterSet(String iCharacterSet)
Sets the response's character set.
|
OHttpResponseWrapper |
OHttpResponseWrapper.setHeader(String iHeader)
Sets the response's additional headers to send back.
|
OHttpResponseWrapper |
OHttpResponseWrapper.writeContent(String iContent)
Writes content directly to the response.
|
OHttpResponseWrapper |
OHttpResponseWrapper.writeHeaders(String iContentType)
Sets the response's headers using the keep-alive.
|
OHttpResponseWrapper |
OHttpResponseWrapper.writeHeaders(String iContentType,
boolean iKeepAlive)
Sets the response's headers specifying when using the keep-alive or not.
|
OHttpResponseWrapper |
OHttpResponseWrapper.writeLine(String iContent)
Writes a line in the response.
|
OHttpResponseWrapper |
OHttpResponseWrapper.writeRecord(ORecord iRecord)
Writes a record as response.
|
OHttpResponseWrapper |
OHttpResponseWrapper.writeRecord(ORecord iRecord,
String iFetchPlan)
Writes a record as response.
|
OHttpResponseWrapper |
OHttpResponseWrapper.writeRecords(List<OIdentifiable> iRecords)
Writes records as response.
|
OHttpResponseWrapper |
OHttpResponseWrapper.writeRecords(Object iRecords,
String iFetchPlan)
Writes records as response specifying a fetch-plan to serialize nested records.
|
OHttpResponseWrapper |
OHttpResponseWrapper.writeStatus(int iHttpCode,
String iReason)
Sets the response's status as HTTP code and reason.
|
Copyright © 2009–2020 OrientDB. All rights reserved.