package Ġom . ok 2 c . hc . android Ċ Ċ import Ġandroid . app . Activity Ċ import Ġorg . apache . hc . client 5 . http . impl . io . Pooling HttpClient ConnectionManager Ċ import Ġorg . apache . hc . client 5 . http . impl . io . Pooling HttpClient ConnectionManager Builder Ċ import Ġorg . apache . hc . core 5 . io . Close Mode Ċ import Ġorg . apache . hc . core 5 . util . Time Value Ċ Ċ abstract Ġclass ĠHttpClient Activity ( builder : ĠPool ing HttpClient ConnectionManager Builder ): ĠActivity () Ġ{ ĊĊĠĠĠ Ġprotected Ġvar Ġconnection Manager : ĠPool ing HttpClient ConnectionManager Ġ= Ġbuilder . build () ĊĊĠĠĠ Ġoverride Ġfun Ġon Pause () Ġ{ ĊĠĠĠĠĠĠĠ Ġconnection Manager . close Idle ( Time Value . ZERO _ MILLISECONDS ) ĊĠĠĠĠĠĠĠ Ġsuper . on Pause () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġon Resume () Ġ{ ĊĠĠĠĠĠĠĠ Ġconnection Manager . close Expired () ĊĠĠĠĠĠĠĠ Ġsuper . on Resume () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġon Stop () Ġ{ ĊĠĠĠĠĠĠĠ Ġconnection Manager . close Idle ( Time Value . ZERO _ MILLISECONDS ) ĊĠĠĠĠĠĠĠ Ġsuper . on Stop () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġon Destroy () Ġ{ ĊĠĠĠĠĠĠĠ Ġconnection Manager . close ( Close Mode . GR ACE FUL ) ĊĠĠĠĠĠĠĠ Ġsuper . on Destroy () ĊĠĠĠ Ġ} Ċ Ċ }