Uses of Class
com.orientechnologies.orient.server.network.protocol.http.OHttpResponseWrapper
Packages that use OHttpResponseWrapper
-
Uses of OHttpResponseWrapper in com.orientechnologies.orient.server.network.protocol.http
Methods in com.orientechnologies.orient.server.network.protocol.http that return OHttpResponseWrapperModifier and TypeMethodDescriptionOHttpResponseWrapper.flush()Flushes the content to the TCP/IP socket.Sends the complete HTTP response in one call.OHttpResponseWrapper.send(int iCode, String iReason, String iContentType, Object iContent, String iHeaders) Sends the complete HTTP response in one call specifying additional headers.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.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.setCharacterSet(String iCharacterSet) Sets the response's character set.Sets the response's additional headers to send back.OHttpResponseWrapper.writeContent(String iContent) Writes content directly to the response.OHttpResponseWrapper.writeHeaders(String iContentType) Sets the response's headers using the keep-alive.OHttpResponseWrapper.writeHeaders(String iContentType, boolean iKeepAlive) Sets the response's headers specifying when using the keep-alive or not.Writes a line in the response.OHttpResponseWrapper.writeRecord(ORecord iRecord) Writes a record as response.OHttpResponseWrapper.writeRecord(ORecord iRecord, String iFetchPlan) Writes a record as response.OHttpResponseWrapper.writeRecords(Object iRecords, String iFetchPlan) Writes records as response specifying a fetch-plan to serialize nested records.OHttpResponseWrapper.writeRecords(List<OIdentifiable> iRecords) Writes records as response.OHttpResponseWrapper.writeStatus(int iHttpCode, String iReason) Sets the response's status as HTTP code and reason.