Type Reason Java.IO.IOException
Closes this connection gracefully. This method will attempt to flush the transmitter's internal buffer prior to closing the underlying socket. This method MUST NOT be called from a different thread to force shutdown of the connection. Use IHttpConnection.Shutdown instead.