/** * Sets up the data streams used to send request[s] and read response[s]. * * @param connection HttpConnection to be used */ protected void setUpTransportIO(HttpConnection connection) throws IOException { socketOut = connection.getOutputStream(); is = connection.getInputStream(); }