code: public void setResponse(InputStream response) {
  		this.response = response;
  		try {
  			this.responseLength = response.available();
  		} catch (IOException e) {
  			// This shouldn't happen.
  		}
  	}
docs: Set the response Input Stream
  
  @param response The response to set