public class RestHttpConnectionHandler
extends com.softwareag.mobile.runtime.comms.HttpConnectionHandler
RestHttpConnectionHandler
enables the
AbstractRestOperation
to call the
IOperationDelegate#onOperationFinished(AbstractRestOperation)
method.
This class has an internal intention and should not be used or extended by
clients. Each AbstractRestOperation
uses this handler to setup the
connection.
ACTION_DELETE, ACTION_GET, ACTION_HEAD, ACTION_POST, ACTION_PUT, cancelled, conn, conn_thread, connection_status, Encoding_Default, Encoding_Form, Encoding_Json, Encoding_OctetStream, Encoding_Xml, init_data_to_send, init_encoding_format, init_request_properties, init_required_action, init_url, response_being_received, response_code, response_data, response_data_read, response_header, response_length
Modifier and Type | Method and Description |
---|---|
void |
closeConnection()
Overrides the
HttpConnectionHandler.closeConnection() method to
notify the underlying AbstractRestOperation that the connection
is closed. |
initConnection, initConnection, killThread, openConnection, openHttpConnectionByteArrayData, openHttpConnectionByteArrayData, openHttpConnectionByteArrayData, openHttpConnectionStringData, openHttpConnectionStringData, openHttpConnectionStringData, run, setPostHeaders, setPutHeaders, urlEncode
public void closeConnection()
HttpConnectionHandler.closeConnection()
method to
notify the underlying AbstractRestOperation
that the connection
is closed. This also means that the complete operation is finished.closeConnection
in class com.softwareag.mobile.runtime.comms.HttpConnectionHandler