question: public static void writeHttpResponse ( OutputStream out , String contentType , String response ) throws IOException { OutputStreamWriter osw = new OutputStreamWriter ( out ) ; writeHttpResponseHeader ( osw , contentType , response . length ( ) ) ; osw . write ( response ) ; osw . flush ( ) ; }
target:  Write a String response to the OutputStream.