@ Override public T call ( ) throws Exception { T response = requestor . call ( ) ; try { validateResponse ( response ) ; return response ; } catch ( RuntimeException ex ) { if ( response instanceof Closeable ) { PcsUtils . closeQuietly ( ( Closeable ) response ) ; } throw ex ; } }
Performs and validates http request .