/** * Pre process the request by decoding the request line and the header. * @param input the InputStream to read bytes * @param output the OutputStream to write bytes */ @Override public void preProcess(InputStream input, OutputStream output) throws Exception { // Make sure this object has been initialized. if ( !started ){ initialize(); } // Setting up the I/O inputBuffer.setInputStream(input); outputBuffer.setOutputStream(output); configPreProcess(); }
outputBuffer.setOutputStream(socket.getOutputStream());
outputBuffer.setOutputStream(socket.getOutputStream());
outputBuffer.setOutputStream(socket.getOutputStream());
outputBuffer.setOutputStream(socket.getSocket().getOutputStream());