Code example for ClientConnectionManager

Methods: shutdown

0
        public void expire() { 
            this.cancel(true);
            if( this.mHttpClient != null ) {
                ClientConnectionManager connM = this.mHttpClient.getConnectionManager();
                if( connM != null ) {
                    connM.shutdown();
                } 
                this.mHttpClient = null;
            } 
            this.mListener = null;
        } 
 
        @Override 
        protected void finalize() throws Throwable { 
            this.expire();
            super.finalize(); 
        } 
        @Override 
        protected void onPreExecute() { 
            if( this.mListener != null ) {
                this.mListener.onPreExecuteOnUiThread(this.mClient);