server/src/main/java/com/orientechnologies/orient/server/network/protocol/http/OHttpResponseWrapper.java
public OHttpResponseWrapper writeHeaders(final String iContentType, final boolean iKeepAlive) throws IOException {
    response.writeHeaders(iContentType, iKeepAlive);
    return this;
  }
public OHttpResponseWrapper writeHeaders(final String iContentType, final boolean iKeepAlive) throws IOException {
    response.writeHeaders(iContentType, iKeepAlive);
    return this;
  }
public OHttpResponseWrapper writeHeaders ( final String iContentType , final boolean iKeepAlive ) throws IOException { response . writeHeaders ( iContentType , iKeepAlive ) ; return this ; }
Sets the response's headers specifying when using the keep-alive or not.

@param iContentType
Response's content type
@param iKeepAlive
Use the keep-alive of the connection
@return The object itself for fluent chained calls
Sets the response s headers specifying when using the keep - alive or not .