InputStream parseResponse ( final TokenProxy < ? , ? > tokenProxy , final Response response ) { checkRefresh ( tokenProxy , response ) ; try { return response . getBody ( ) . in ( ) ; } catch ( final IOException e ) { throw new RuntimeException ( e ) ; } }
Checks the response headers for a refreshed authentication token then returns the response body as an input stream .