public void setResponse ( InputStream response ) { this . response = response ; try { this . responseLength = response . available ( ) ; } catch ( IOException e ) { // This shouldn't happen. } }
Set the response Input Stream